Completed
Pull Request — master (#68)
by Jindun
02:32
created
src/Service/Service.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 
51 51
     public function __construct()
52 52
     {
53
-        $this->validatorSchema = \GuzzleHttp\json_decode((string)file_get_contents(__DIR__ . '/ServiceJsonSchema.json'), false);
53
+        $this->validatorSchema = \GuzzleHttp\json_decode((string) file_get_contents(__DIR__ . '/ServiceJsonSchema.json'), false);
54 54
     }
55 55
 
56 56
     /**
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
      */
101 101
     public function jsonSerialize(): array
102 102
     {
103
-        $jsonSerializeMap = function (JsonSerializable $obj): array {
103
+        $jsonSerializeMap = function(JsonSerializable $obj): array {
104 104
             return $obj->jsonSerialize();
105 105
         };
106 106
 
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
         $dockerfileCommands[] = 'FROM ' . $this->image;
146 146
         foreach ($this->environment as $key => $env) {
147 147
             if ($env->getType() === EnvVariableTypeEnum::IMAGE_ENV_VARIABLE) {
148
-                $dockerfileCommands[] = "ENV $key" . '='. $env->getValue();
148
+                $dockerfileCommands[] = "ENV $key" . '=' . $env->getValue();
149 149
             }
150 150
         }
151 151
         foreach ($this->volumes as $volume) {
Please login to merge, or discard this patch.