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