@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | /** @var null|bool */ |
| 39 | 39 | private $needVirtualHost; |
| 40 | 40 | /** @var array<int, array<string, string|int>> */ |
| 41 | - private $virtualHosts= []; |
|
| 41 | + private $virtualHosts = []; |
|
| 42 | 42 | /** @var null|bool */ |
| 43 | 43 | private $needBuild; |
| 44 | 44 | /** @var \stdClass */ |
@@ -116,7 +116,7 @@ discard block |
||
| 116 | 116 | */ |
| 117 | 117 | public function jsonSerialize(): array |
| 118 | 118 | { |
| 119 | - $jsonSerializeMap = function (\JsonSerializable $obj): array { |
|
| 119 | + $jsonSerializeMap = function(\JsonSerializable $obj): array { |
|
| 120 | 120 | return $obj->jsonSerialize(); |
| 121 | 121 | }; |
| 122 | 122 | |
@@ -394,7 +394,7 @@ discard block |
||
| 394 | 394 | 'source' => $source, |
| 395 | 395 | 'target' => $target, |
| 396 | 396 | 'comment' => $comment, |
| 397 | - ], function ($v) { |
|
| 397 | + ], function($v) { |
|
| 398 | 398 | return null !== $v; |
| 399 | 399 | }); |
| 400 | 400 | } |
@@ -404,7 +404,7 @@ discard block |
||
| 404 | 404 | $this->labels[$key] = array_filter([ |
| 405 | 405 | 'value' => $value, |
| 406 | 406 | 'comment' => $comment |
| 407 | - ], function ($v) { |
|
| 407 | + ], function($v) { |
|
| 408 | 408 | return null !== $v; |
| 409 | 409 | }); |
| 410 | 410 | } |
@@ -550,7 +550,7 @@ discard block |
||
| 550 | 550 | |
| 551 | 551 | private function removeVolumesByType(string $type): void |
| 552 | 552 | { |
| 553 | - $filterFunction = function (Volume $vol) use ($type) { |
|
| 553 | + $filterFunction = function(Volume $vol) use ($type) { |
|
| 554 | 554 | return $vol->getType() !== $type; |
| 555 | 555 | }; |
| 556 | 556 | $this->volumes = array_values(array_filter($this->volumes, $filterFunction)); |
@@ -573,7 +573,7 @@ discard block |
||
| 573 | 573 | |
| 574 | 574 | public function removeVolumesBySource(string $source): void |
| 575 | 575 | { |
| 576 | - $filterFunction = function (Volume $vol) use ($source) { |
|
| 576 | + $filterFunction = function(Volume $vol) use ($source) { |
|
| 577 | 577 | return $vol->getSource() !== $source; |
| 578 | 578 | }; |
| 579 | 579 | $this->volumes = array_values(array_filter($this->volumes, $filterFunction)); |