Completed
Push — master ( 38a7cd...b03029 )
by Alexei
25s queued 10s
created
src/Api/Struct/Webspace/PhpSettings.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
         $this->properties = [];
15 15
 
16 16
         foreach ($apiResponse->webspace->get->result->data->{'php-settings'}->setting as $setting) {
17
-            $this->properties[(string) $setting->name] = (string) $setting->value;
17
+            $this->properties[(string)$setting->name] = (string)$setting->value;
18 18
         }
19 19
     }
20 20
 }
Please login to merge, or discard this patch.
src/Api/Struct/Webspace/PermissionDescriptor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
         $this->permissions = [];
15 15
 
16 16
         foreach ($apiResponse->descriptor->property as $propertyInfo) {
17
-            $this->permissions[(string) $propertyInfo->name] = new PermissionInfo($propertyInfo);
17
+            $this->permissions[(string)$propertyInfo->name] = new PermissionInfo($propertyInfo);
18 18
         }
19 19
     }
20 20
 }
Please login to merge, or discard this patch.
src/Api/Struct/Webspace/LimitDescriptor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
         $this->limits = [];
15 15
 
16 16
         foreach ($apiResponse->descriptor->property as $propertyInfo) {
17
-            $this->limits[(string) $propertyInfo->name] = new LimitInfo($propertyInfo);
17
+            $this->limits[(string)$propertyInfo->name] = new LimitInfo($propertyInfo);
18 18
         }
19 19
     }
20 20
 }
Please login to merge, or discard this patch.
src/Api/Struct/Webspace/PhysicalHostingDescriptor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
         $this->properties = [];
15 15
 
16 16
         foreach ($apiResponse->descriptor->property as $propertyInfo) {
17
-            $this->properties[(string) $propertyInfo->name] = new HostingPropertyInfo($propertyInfo);
17
+            $this->properties[(string)$propertyInfo->name] = new HostingPropertyInfo($propertyInfo);
18 18
         }
19 19
     }
20 20
 }
Please login to merge, or discard this patch.
src/Api/Struct.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -34,11 +34,11 @@
 block discarded – undo
34 34
             $propertyType = preg_replace('/^.+ @var ([a-z]+) .+$/', '\1', $docBlock);
35 35
 
36 36
             if ('string' == $propertyType) {
37
-                $value = (string) $value;
37
+                $value = (string)$value;
38 38
             } elseif ('int' == $propertyType) {
39
-                $value = (int) $value;
39
+                $value = (int)$value;
40 40
             } elseif ('bool' == $propertyType) {
41
-                $value = in_array((string) $value, ['true', 'on', 'enabled']);
41
+                $value = in_array((string)$value, ['true', 'on', 'enabled']);
42 42
             } else {
43 43
                 throw new \Exception("Unknown property type '$propertyType'.");
44 44
             }
Please login to merge, or discard this patch.