Skip to content

Commit e151a4c

Browse files
authored
Merge pull request #3 from Pingu501/bugfix/make-static-methods-static
make static-called-methods static
2 parents 243b580 + b4e2bf9 commit e151a4c

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

Classes/Dto/Jobs.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ private function __construct(array $jobs)
2121
}
2222

2323

24-
public function fromJsonArray(array $in): self
24+
public static function fromJsonArray(array $in): self
2525
{
2626
$converted = [];
2727
foreach ($in as $el) {

Classes/Dto/Pipelines.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class Pipelines implements \IteratorAggregate
1212
{
1313
protected array $pipelines;
1414

15-
public function fromJsonArray(array $in): self
15+
public static function fromJsonArray(array $in): self
1616
{
1717
$converted = [];
1818
foreach ($in as $el) {

Classes/Dto/TaskResults.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ private function __construct(array $taskResults)
2121
}
2222

2323

24-
public function fromJsonArray(array $in): self
24+
public static function fromJsonArray(array $in): self
2525
{
2626
$converted = [];
2727
foreach ($in as $el) {

0 commit comments

Comments
 (0)