Skip to content

Commit

Permalink
Merge pull request #3 from Pingu501/bugfix/make-static-methods-static
Browse files Browse the repository at this point in the history
make static-called-methods static
  • Loading branch information
skurfuerst committed Jan 19, 2022
2 parents 243b580 + b4e2bf9 commit e151a4c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Classes/Dto/Jobs.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ private function __construct(array $jobs)
}


public function fromJsonArray(array $in): self
public static function fromJsonArray(array $in): self
{
$converted = [];
foreach ($in as $el) {
Expand Down
2 changes: 1 addition & 1 deletion Classes/Dto/Pipelines.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Pipelines implements \IteratorAggregate
{
protected array $pipelines;

public function fromJsonArray(array $in): self
public static function fromJsonArray(array $in): self
{
$converted = [];
foreach ($in as $el) {
Expand Down
2 changes: 1 addition & 1 deletion Classes/Dto/TaskResults.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ private function __construct(array $taskResults)
}


public function fromJsonArray(array $in): self
public static function fromJsonArray(array $in): self
{
$converted = [];
foreach ($in as $el) {
Expand Down

0 comments on commit e151a4c

Please sign in to comment.