Completed
Pull Request — master (#76)
by Jindun
02:19
created
src/Service/Service.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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));
Please login to merge, or discard this patch.
src/Service/Volume/BindVolume.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Service/Volume/NamedVolume.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.