Completed
Push — master ( a4b22f...a83e33 )
by Julien
11s
created
src/Service/Service.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      */
45 45
     public function __construct()
46 46
     {
47
-        $this->validatorSchema = \GuzzleHttp\json_decode((string)file_get_contents(__DIR__ . '/ServiceJsonSchema.json'), false);
47
+        $this->validatorSchema = \GuzzleHttp\json_decode((string) file_get_contents(__DIR__ . '/ServiceJsonSchema.json'), false);
48 48
     }
49 49
 
50 50
     /**
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
      */
92 92
     public function jsonSerialize(): array
93 93
     {
94
-        $jsonSerializeMap = function (\JsonSerializable $obj): array {
94
+        $jsonSerializeMap = function(\JsonSerializable $obj): array {
95 95
             return $obj->jsonSerialize();
96 96
         };
97 97
 
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
         $dockerfileCommands[] = 'FROM ' . $this->image;
133 133
         foreach ($this->environment as $key => $env) {
134 134
             if ($env->getType() === EnvVariableTypeEnum::IMAGE_ENV_VARIABLE) {
135
-                $dockerfileCommands[] = "ENV $key" . '='. $env->getValue();
135
+                $dockerfileCommands[] = "ENV $key" . '=' . $env->getValue();
136 136
             }
137 137
         }
138 138
         foreach ($this->volumes as $volume) {
Please login to merge, or discard this patch.