@@ -114,7 +114,7 @@ discard block |
||
| 114 | 114 | */ |
| 115 | 115 | public function jsonSerialize(): array |
| 116 | 116 | { |
| 117 | - $jsonSerializeMap = function (JsonSerializable $obj): array { |
|
| 117 | + $jsonSerializeMap = function(JsonSerializable $obj): array { |
|
| 118 | 118 | return $obj->jsonSerialize(); |
| 119 | 119 | }; |
| 120 | 120 | |
@@ -391,7 +391,7 @@ discard block |
||
| 391 | 391 | 'source' => $source, |
| 392 | 392 | 'target' => $target, |
| 393 | 393 | 'comment' => $comment, |
| 394 | - ], function ($v) { |
|
| 394 | + ], function($v) { |
|
| 395 | 395 | return null !== $v; |
| 396 | 396 | }); |
| 397 | 397 | } |
@@ -401,7 +401,7 @@ discard block |
||
| 401 | 401 | $this->labels[$key] = array_filter([ |
| 402 | 402 | 'value' => $value, |
| 403 | 403 | 'comment' => $comment |
| 404 | - ], function ($v) { |
|
| 404 | + ], function($v) { |
|
| 405 | 405 | return null !== $v; |
| 406 | 406 | }); |
| 407 | 407 | } |
@@ -533,7 +533,7 @@ discard block |
||
| 533 | 533 | |
| 534 | 534 | private function removeVolumesByType(string $type): void |
| 535 | 535 | { |
| 536 | - $filterFunction = function (Volume $vol) use ($type) { |
|
| 536 | + $filterFunction = function(Volume $vol) use ($type) { |
|
| 537 | 537 | return $vol->getType() !== $type; |
| 538 | 538 | }; |
| 539 | 539 | $this->volumes = array_values(array_filter($this->volumes, $filterFunction)); |
@@ -556,7 +556,7 @@ discard block |
||
| 556 | 556 | |
| 557 | 557 | public function removeVolumesBySource(string $source): void |
| 558 | 558 | { |
| 559 | - $filterFunction = function (Volume $vol) use ($source) { |
|
| 559 | + $filterFunction = function(Volume $vol) use ($source) { |
|
| 560 | 560 | return $vol->getSource() !== $source; |
| 561 | 561 | }; |
| 562 | 562 | $this->volumes = array_values(array_filter($this->volumes, $filterFunction)); |
@@ -66,7 +66,7 @@ |
||
| 66 | 66 | 'target' => $this->target, |
| 67 | 67 | 'readOnly' => $this->readOnly, |
| 68 | 68 | 'comment' => $this->comment, |
| 69 | - ], function ($v) { |
|
| 69 | + ], function($v) { |
|
| 70 | 70 | return null !== $v; |
| 71 | 71 | }); |
| 72 | 72 | } |
@@ -64,7 +64,7 @@ |
||
| 64 | 64 | 'target' => $this->target, |
| 65 | 65 | 'readOnly' => $this->readOnly, |
| 66 | 66 | 'comment' => $this->comment, |
| 67 | - ], function ($v) { |
|
| 67 | + ], function($v) { |
|
| 68 | 68 | return null !== $v; |
| 69 | 69 | }); |
| 70 | 70 | } |