Passed
Push — master ( 80c49f...a55e50 )
by
unknown
02:23
created
src/Manticoresearch/Nodes.php 1 patch
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
 
42 42
     public function agentstatus($params = [])
43 43
     {
44
-        $body = $params['body']??[];
44
+        $body = $params['body'] ?? [];
45 45
         $endpoint = new AgentStatus();
46 46
         $endpoint->setBody($body);
47 47
         $response = $this->client->request(
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
 
102 102
     public function flushattributes($params = [])
103 103
     {
104
-        $body = $params['body']??[];
104
+        $body = $params['body'] ?? [];
105 105
         $endpoint = new FlushAttributes();
106 106
         $endpoint->setBody($body);
107 107
         $response = $this->client->request($endpoint, ['responseClass'=>'Manticoresearch\\Response\\Sql']);
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
 
111 111
     public function flushhostnames($params = [])
112 112
     {
113
-        $body = $params['body']??[];
113
+        $body = $params['body'] ?? [];
114 114
         $endpoint = new FlushHostnames();
115 115
         $endpoint->setBody($body);
116 116
         $response = $this->client->request($endpoint, $this->params);
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
 
120 120
     public function flushlogs($params = [])
121 121
     {
122
-        $body = $params['body']??[];
122
+        $body = $params['body'] ?? [];
123 123
         $endpoint = new FlushLogs();
124 124
         $endpoint->setBody($body);
125 125
         $response = $this->client->request($endpoint, $this->params);
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
 
129 129
     public function plugins($params = [])
130 130
     {
131
-        $body = $params['body']??[];
131
+        $body = $params['body'] ?? [];
132 132
         $endpoint = new Plugins();
133 133
         $endpoint->setBody($body);
134 134
         $response = $this->client->request($endpoint, $this->params);
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
 
138 138
     public function reloadindexes($params = [])
139 139
     {
140
-        $body = $params['body']??[];
140
+        $body = $params['body'] ?? [];
141 141
         $endpoint = new ReloadIndexes();
142 142
         $endpoint->setBody($body);
143 143
         $response = $this->client->request($endpoint, $this->params);
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
 
147 147
     public function reloadplugins($params = [])
148 148
     {
149
-        $body = $params['body']??[];
149
+        $body = $params['body'] ?? [];
150 150
         $endpoint = new ReloadPlugins();
151 151
         $endpoint->setBody($body);
152 152
         $response = $this->client->request($endpoint, $this->params);
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
      */
169 169
     public function status($params = [])
170 170
     {
171
-        $body = $params['body']??[];
171
+        $body = $params['body'] ?? [];
172 172
         $endpoint = new Status();
173 173
         $endpoint->setBody($body);
174 174
         $response = $this->client->request(
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
 
181 181
     public function tables($params = [])
182 182
     {
183
-        $body = $params['body']??[];
183
+        $body = $params['body'] ?? [];
184 184
         $endpoint = new Tables();
185 185
         $endpoint->setBody($body);
186 186
         $response = $this->client->request(
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
 
193 193
     public function threads($params = [])
194 194
     {
195
-        $body = $params['body']??[];
195
+        $body = $params['body'] ?? [];
196 196
         $endpoint = new Threads();
197 197
         $endpoint->setBody($body);
198 198
         $response = $this->client->request($endpoint, $this->params);
@@ -201,7 +201,7 @@  discard block
 block discarded – undo
201 201
 
202 202
     public function variables($params = [])
203 203
     {
204
-        $body = $params['body']??[];
204
+        $body = $params['body'] ?? [];
205 205
         $endpoint = new Variables();
206 206
         $endpoint->setBody($body);
207 207
         $response = $this->client->request(
Please login to merge, or discard this patch.