@@ -22,7 +22,7 @@ |
||
22 | 22 | throw new InvalidArgumentException('At least one pipeline is required'); |
23 | 23 | } |
24 | 24 | |
25 | - $this->pipelines = array_map(static function (Pipeline $pipeline): Pipeline { |
|
25 | + $this->pipelines = array_map(static function(Pipeline $pipeline): Pipeline { |
|
26 | 26 | return $pipeline; |
27 | 27 | }, $pipelines); |
28 | 28 | } |
@@ -23,7 +23,7 @@ |
||
23 | 23 | */ |
24 | 24 | public function __construct(array $transformers, ?Estimator $estimator = null) |
25 | 25 | { |
26 | - $this->transformers = array_map(static function (Transformer $transformer): Transformer { |
|
26 | + $this->transformers = array_map(static function(Transformer $transformer): Transformer { |
|
27 | 27 | return $transformer; |
28 | 28 | }, $transformers); |
29 | 29 | $this->estimator = $estimator; |