@@ -61,7 +61,7 @@ discard block |
||
| 61 | 61 | */ |
| 62 | 62 | public function __construct() |
| 63 | 63 | { |
| 64 | - $this->validatorSchema = \GuzzleHttp\json_decode((string)file_get_contents(__DIR__ . '/ServiceJsonSchema.json'), false); |
|
| 64 | + $this->validatorSchema = \GuzzleHttp\json_decode((string) file_get_contents(__DIR__ . '/ServiceJsonSchema.json'), false); |
|
| 65 | 65 | } |
| 66 | 66 | |
| 67 | 67 | /** |
@@ -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 | |
@@ -489,7 +489,7 @@ discard block |
||
| 489 | 489 | |
| 490 | 490 | private function removeVolumesByType(string $type): void |
| 491 | 491 | { |
| 492 | - $filterFunction = function (Volume $vol) use ($type) { |
|
| 492 | + $filterFunction = function(Volume $vol) use ($type) { |
|
| 493 | 493 | return $vol->getType() !== $type; |
| 494 | 494 | }; |
| 495 | 495 | $this->volumes = array_values(array_filter($this->volumes, $filterFunction)); |
@@ -512,7 +512,7 @@ discard block |
||
| 512 | 512 | |
| 513 | 513 | public function removeVolumesBySource(string $source): void |
| 514 | 514 | { |
| 515 | - $filterFunction = function (Volume $vol) use ($source) { |
|
| 515 | + $filterFunction = function(Volume $vol) use ($source) { |
|
| 516 | 516 | return $vol->getSource() !== $source; |
| 517 | 517 | }; |
| 518 | 518 | $this->volumes = array_values(array_filter($this->volumes, $filterFunction)); |