Completed
Pull Request — master (#54)
by Jindun
02:24
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
     /**
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      */
93 93
     public function jsonSerialize(): array
94 94
     {
95
-        $jsonSerializeMap = function (\JsonSerializable $obj): array {
95
+        $jsonSerializeMap = function(\JsonSerializable $obj): array {
96 96
             return $obj->jsonSerialize();
97 97
         };
98 98
 
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
         $dockerfileCommands[] = 'FROM ' . $this->image;
136 136
         foreach ($this->environment as $key => $env) {
137 137
             if ($env->getType() === EnvVariableTypeEnum::IMAGE_ENV_VARIABLE) {
138
-                $dockerfileCommands[] = "ENV $key" . '='. $env->getValue();
138
+                $dockerfileCommands[] = "ENV $key" . '=' . $env->getValue();
139 139
             }
140 140
         }
141 141
         foreach ($this->volumes as $volume) {
Please login to merge, or discard this patch.