Completed
Push — master ( 38a7cd...b03029 )
by Alexei
25s queued 10s
created
src/Api/Operator/Dns.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
         $items = [];
59 59
         foreach ($response->xpath('//result') as $xmlResult) {
60 60
             $item = new Struct\Info($xmlResult->data);
61
-            $item->id = (int) $xmlResult->id;
61
+            $item->id = (int)$xmlResult->id;
62 62
             $items[] = $item;
63 63
         }
64 64
 
Please login to merge, or discard this patch.
src/Api/Operator/Reseller.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
         $items = [];
77 77
         foreach ($response->xpath('//result') as $xmlResult) {
78 78
             $item = new Struct\GeneralInfo($xmlResult->data);
79
-            $item->id = (int) $xmlResult->id;
79
+            $item->id = (int)$xmlResult->id;
80 80
             $items[] = $item;
81 81
         }
82 82
 
Please login to merge, or discard this patch.
src/Api/Operator/Subdomain.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@
 block discarded – undo
83 83
                 continue;
84 84
             }
85 85
             $item = new Struct\Info($xmlResult->data);
86
-            $item->id = (int) $xmlResult->id;
86
+            $item->id = (int)$xmlResult->id;
87 87
             $items[] = $item;
88 88
         }
89 89
 
Please login to merge, or discard this patch.
src/Api/Operator/Server.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
         $packet->addChild($this->_wrapperTag)->addChild('get_protos');
18 18
         $response = $this->_client->request($packet);
19 19
 
20
-        return (array) $response->protos->proto;
20
+        return (array)$response->protos->proto;
21 21
     }
22 22
 
23 23
     public function getGeneralInfo()
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
         $keyInfoXml = $this->_getInfo('key');
45 45
 
46 46
         foreach ($keyInfoXml->property as $property) {
47
-            $keyInfo[(string) $property->name] = (string) $property->value;
47
+            $keyInfo[(string)$property->name] = (string)$property->value;
48 48
         }
49 49
 
50 50
         return $keyInfo;
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
         $componentsXml = $this->_getInfo('components');
60 60
 
61 61
         foreach ($componentsXml->component as $component) {
62
-            $components[(string) $component->name] = (string) $component->version;
62
+            $components[(string)$component->name] = (string)$component->version;
63 63
         }
64 64
 
65 65
         return $components;
@@ -74,10 +74,10 @@  discard block
 block discarded – undo
74 74
         $statesXml = $this->_getInfo('services_state');
75 75
 
76 76
         foreach ($statesXml->srv as $service) {
77
-            $states[(string) $service->id] = [
78
-                'id' => (string) $service->id,
79
-                'title' => (string) $service->title,
80
-                'state' => (string) $service->state,
77
+            $states[(string)$service->id] = [
78
+                'id' => (string)$service->id,
79
+                'title' => (string)$service->title,
80
+                'state' => (string)$service->state,
81 81
             ];
82 82
         }
83 83
 
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
         $shellsXml = $this->_getInfo('shells');
99 99
 
100 100
         foreach ($shellsXml->shell as $shell) {
101
-            $shells[(string) $shell->name] = (string) $shell->path;
101
+            $shells[(string)$shell->name] = (string)$shell->path;
102 102
         }
103 103
 
104 104
         return $shells;
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
     {
112 112
         $interfacesXml = $this->_getInfo('interfaces');
113 113
 
114
-        return (array) $interfacesXml->interface;
114
+        return (array)$interfacesXml->interface;
115 115
     }
116 116
 
117 117
     public function getStatistics()
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
         $configXml = $this->_getInfo('site-isolation-config');
129 129
 
130 130
         foreach ($configXml->property as $property) {
131
-            $config[(string) $property->name] = (string) $property->value;
131
+            $config[(string)$property->name] = (string)$property->value;
132 132
         }
133 133
 
134 134
         return $config;
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
         $dataNode->addChild('source_server');
156 156
         $response = $this->_client->request($packet);
157 157
 
158
-        return (string) $response->id;
158
+        return (string)$response->id;
159 159
     }
160 160
 
161 161
     /**
Please login to merge, or discard this patch.
src/Api/Operator/SecretKey.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
         $packet->addChild($this->_wrapperTag)->addChild('create')->addChild('ip_address', $ipAddress);
22 22
         $response = $this->_client->request($packet);
23 23
 
24
-        return (string) $response->key;
24
+        return (string)$response->key;
25 25
     }
26 26
 
27 27
     /**
Please login to merge, or discard this patch.
src/Api/Operator/DnsTemplate.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
         $items = [];
63 63
         foreach ($response->xpath('//result') as $xmlResult) {
64 64
             $item = new Struct\Info($xmlResult->data);
65
-            $item->id = (int) $xmlResult->id;
65
+            $item->id = (int)$xmlResult->id;
66 66
             $items[] = $item;
67 67
         }
68 68
 
@@ -84,6 +84,6 @@  discard block
 block discarded – undo
84 84
 
85 85
         $response = $this->_client->request($packet);
86 86
 
87
-        return 'ok' === (string) $response->status;
87
+        return 'ok' === (string)$response->status;
88 88
     }
89 89
 }
Please login to merge, or discard this patch.
src/Api/Operator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
     {
58 58
         $response = $this->request("$deleteMethodName.filter.$field=$value");
59 59
 
60
-        return 'ok' === (string) $response->status;
60
+        return 'ok' === (string)$response->status;
61 61
     }
62 62
 
63 63
     /**
Please login to merge, or discard this patch.
src/Api/Struct/Site/HostingInfo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
     public function __construct($apiResponse)
16 16
     {
17 17
         foreach ($apiResponse->vrt_hst->property as $property) {
18
-            $this->properties[(string) $property->name] = (string) $property->value;
18
+            $this->properties[(string)$property->name] = (string)$property->value;
19 19
         }
20 20
         $this->_initScalarProperties($apiResponse->vrt_hst, [
21 21
             'ip_address',
Please login to merge, or discard this patch.
src/Api/Struct/Subdomain/Info.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
             'name',
28 28
         ]);
29 29
         foreach ($apiResponse->property as $propertyInfo) {
30
-            $this->properties[(string) $propertyInfo->name] = (string) $propertyInfo->value;
30
+            $this->properties[(string)$propertyInfo->name] = (string)$propertyInfo->value;
31 31
         }
32 32
     }
33 33
 }
Please login to merge, or discard this patch.