File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ) {
Original file line number Diff line number Diff 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 ) {
Original file line number Diff line number Diff 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 ) {
You can’t perform that action at this time.
0 commit comments