@@ -42,9 +42,9 @@ |
||
| 42 | 42 | if ($artifacts instanceof ArtifactCollection) { |
| 43 | 43 | $artifacts->forAll(function ($key, Artifact $artifact) { |
| 44 | 44 | if ($this->artifacts->containsKey($key)) { |
| 45 | - throw new ProcessingException( |
|
| 46 | - sprintf('Collection already contains artifact with key %s', $key) |
|
| 47 | - ); |
|
| 45 | + throw new ProcessingException( |
|
| 46 | + sprintf('Collection already contains artifact with key %s', $key) |
|
| 47 | + ); |
|
| 48 | 48 | } |
| 49 | 49 | $this->addArtifact($artifact); |
| 50 | 50 | }); |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | $artifacts = $step->execute($request); |
| 41 | 41 | |
| 42 | 42 | if ($artifacts instanceof ArtifactCollection) { |
| 43 | - $artifacts->forAll(function ($key, Artifact $artifact) { |
|
| 43 | + $artifacts->forAll(function($key, Artifact $artifact) { |
|
| 44 | 44 | if ($this->artifacts->containsKey($key)) { |
| 45 | 45 | throw new ProcessingException( |
| 46 | 46 | sprintf('Collection already contains artifact with key %s', $key) |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | |
| 21 | 21 | public function getNextStep(): ?StepInterface |
| 22 | 22 | { |
| 23 | - if($this->steps->count() == 0) { |
|
| 23 | + if ($this->steps->count() == 0) { |
|
| 24 | 24 | return null; |
| 25 | 25 | } |
| 26 | 26 | |