Completed
Push — master ( a1068d...c410a5 )
by David
10s
created
src/Service/Service.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      */
43 43
     public function __construct()
44 44
     {
45
-        $this->validatorSchema = json_decode((string)file_get_contents(__DIR__ . '/ServiceJsonSchema.json'), false);
45
+        $this->validatorSchema = json_decode((string) file_get_contents(__DIR__ . '/ServiceJsonSchema.json'), false);
46 46
     }
47 47
 
48 48
     /**
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
      */
89 89
     public function jsonSerialize(): array
90 90
     {
91
-        $jsonSerializeMap = function (\JsonSerializable $obj): array {
91
+        $jsonSerializeMap = function(\JsonSerializable $obj): array {
92 92
             return $obj->jsonSerialize();
93 93
         };
94 94
 
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
         $dockerfileCommands[] = 'FROM ' . $this->image;
129 129
         foreach ($this->environment as $key => $env) {
130 130
             if ($env->getType() === EnvVariableTypeEnum::IMAGE_ENV_VARIABLE) {
131
-                $dockerfileCommands[] = "ENV $key" . '='. $env->getValue();
131
+                $dockerfileCommands[] = "ENV $key" . '=' . $env->getValue();
132 132
             }
133 133
         }
134 134
         foreach ($this->volumes as $volume) {
Please login to merge, or discard this patch.