Completed
Pull Request — master (#359)
by Maxence
41s
created
lib/Vendor/Elastic/Elasticsearch/Endpoints/DanglingIndices.php 2 patches
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -55,10 +55,10 @@  discard block
 block discarded – undo
55 55
 	public function deleteDanglingIndex(array $params = [])
56 56
 	{
57 57
 		$this->checkRequiredParameters(['index_uuid'], $params);
58
-		$url = '/_dangling/' . $this->encode($params['index_uuid']);
58
+		$url = '/_dangling/'.$this->encode($params['index_uuid']);
59 59
 		$method = 'DELETE';
60 60
 
61
-		$url = $this->addQueryString($url, $params, ['accept_data_loss','timeout','master_timeout','pretty','human','error_trace','source','filter_path']);
61
+		$url = $this->addQueryString($url, $params, ['accept_data_loss', 'timeout', 'master_timeout', 'pretty', 'human', 'error_trace', 'source', 'filter_path']);
62 62
 		$headers = [
63 63
 			'Accept' => 'application/json',
64 64
 		];
@@ -93,10 +93,10 @@  discard block
 block discarded – undo
93 93
 	public function importDanglingIndex(array $params = [])
94 94
 	{
95 95
 		$this->checkRequiredParameters(['index_uuid'], $params);
96
-		$url = '/_dangling/' . $this->encode($params['index_uuid']);
96
+		$url = '/_dangling/'.$this->encode($params['index_uuid']);
97 97
 		$method = 'POST';
98 98
 
99
-		$url = $this->addQueryString($url, $params, ['accept_data_loss','timeout','master_timeout','pretty','human','error_trace','source','filter_path']);
99
+		$url = $this->addQueryString($url, $params, ['accept_data_loss', 'timeout', 'master_timeout', 'pretty', 'human', 'error_trace', 'source', 'filter_path']);
100 100
 		$headers = [
101 101
 			'Accept' => 'application/json',
102 102
 		];
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
 		$url = '/_dangling';
129 129
 		$method = 'GET';
130 130
 
131
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
131
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
132 132
 		$headers = [
133 133
 			'Accept' => 'application/json',
134 134
 		];
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,8 +26,7 @@
 block discarded – undo
26 26
 /**
27 27
  * @generated This file is generated, please do not edit
28 28
  */
29
-class DanglingIndices extends AbstractEndpoint
30
-{
29
+class DanglingIndices extends AbstractEndpoint {
31 30
 	/**
32 31
 	 * Deletes the specified dangling index
33 32
 	 *
Please login to merge, or discard this patch.
lib/Vendor/Elastic/Elasticsearch/Endpoints/Enrich.php 2 patches
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -52,10 +52,10 @@  discard block
 block discarded – undo
52 52
 	public function deletePolicy(array $params = [])
53 53
 	{
54 54
 		$this->checkRequiredParameters(['name'], $params);
55
-		$url = '/_enrich/policy/' . $this->encode($params['name']);
55
+		$url = '/_enrich/policy/'.$this->encode($params['name']);
56 56
 		$method = 'DELETE';
57 57
 
58
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
58
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
59 59
 		$headers = [
60 60
 			'Accept' => 'application/json',
61 61
 		];
@@ -88,10 +88,10 @@  discard block
 block discarded – undo
88 88
 	public function executePolicy(array $params = [])
89 89
 	{
90 90
 		$this->checkRequiredParameters(['name'], $params);
91
-		$url = '/_enrich/policy/' . $this->encode($params['name']) . '/_execute';
91
+		$url = '/_enrich/policy/'.$this->encode($params['name']).'/_execute';
92 92
 		$method = 'PUT';
93 93
 
94
-		$url = $this->addQueryString($url, $params, ['wait_for_completion','pretty','human','error_trace','source','filter_path']);
94
+		$url = $this->addQueryString($url, $params, ['wait_for_completion', 'pretty', 'human', 'error_trace', 'source', 'filter_path']);
95 95
 		$headers = [
96 96
 			'Accept' => 'application/json',
97 97
 		];
@@ -122,13 +122,13 @@  discard block
 block discarded – undo
122 122
 	public function getPolicy(array $params = [])
123 123
 	{
124 124
 		if (isset($params['name'])) {
125
-			$url = '/_enrich/policy/' . $this->encode($params['name']);
125
+			$url = '/_enrich/policy/'.$this->encode($params['name']);
126 126
 			$method = 'GET';
127 127
 		} else {
128 128
 			$url = '/_enrich/policy';
129 129
 			$method = 'GET';
130 130
 		}
131
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
131
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
132 132
 		$headers = [
133 133
 			'Accept' => 'application/json',
134 134
 		];
@@ -160,11 +160,11 @@  discard block
 block discarded – undo
160 160
 	 */
161 161
 	public function putPolicy(array $params = [])
162 162
 	{
163
-		$this->checkRequiredParameters(['name','body'], $params);
164
-		$url = '/_enrich/policy/' . $this->encode($params['name']);
163
+		$this->checkRequiredParameters(['name', 'body'], $params);
164
+		$url = '/_enrich/policy/'.$this->encode($params['name']);
165 165
 		$method = 'PUT';
166 166
 
167
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
167
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
168 168
 		$headers = [
169 169
 			'Accept' => 'application/json',
170 170
 			'Content-Type' => 'application/json',
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
 		$url = '/_enrich/_stats';
198 198
 		$method = 'GET';
199 199
 
200
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
200
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
201 201
 		$headers = [
202 202
 			'Accept' => 'application/json',
203 203
 		];
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,8 +26,7 @@
 block discarded – undo
26 26
 /**
27 27
  * @generated This file is generated, please do not edit
28 28
  */
29
-class Enrich extends AbstractEndpoint
30
-{
29
+class Enrich extends AbstractEndpoint {
31 30
 	/**
32 31
 	 * Deletes an existing enrich policy and its enrich index.
33 32
 	 *
Please login to merge, or discard this patch.
lib/Vendor/Elastic/Elasticsearch/Endpoints/Esql.php 2 patches
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
 		$url = '/_query/async';
59 59
 		$method = 'POST';
60 60
 
61
-		$url = $this->addQueryString($url, $params, ['format','delimiter','drop_null_columns','pretty','human','error_trace','source','filter_path']);
61
+		$url = $this->addQueryString($url, $params, ['format', 'delimiter', 'drop_null_columns', 'pretty', 'human', 'error_trace', 'source', 'filter_path']);
62 62
 		$headers = [
63 63
 			'Accept' => 'application/json',
64 64
 			'Content-Type' => 'application/json',
@@ -94,10 +94,10 @@  discard block
 block discarded – undo
94 94
 	public function asyncQueryGet(array $params = [])
95 95
 	{
96 96
 		$this->checkRequiredParameters(['id'], $params);
97
-		$url = '/_query/async/' . $this->encode($params['id']);
97
+		$url = '/_query/async/'.$this->encode($params['id']);
98 98
 		$method = 'GET';
99 99
 
100
-		$url = $this->addQueryString($url, $params, ['wait_for_completion_timeout','keep_alive','drop_null_columns','pretty','human','error_trace','source','filter_path']);
100
+		$url = $this->addQueryString($url, $params, ['wait_for_completion_timeout', 'keep_alive', 'drop_null_columns', 'pretty', 'human', 'error_trace', 'source', 'filter_path']);
101 101
 		$headers = [
102 102
 			'Accept' => 'application/json',
103 103
 		];
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
 		$url = '/_query';
136 136
 		$method = 'POST';
137 137
 
138
-		$url = $this->addQueryString($url, $params, ['format','delimiter','drop_null_columns','pretty','human','error_trace','source','filter_path']);
138
+		$url = $this->addQueryString($url, $params, ['format', 'delimiter', 'drop_null_columns', 'pretty', 'human', 'error_trace', 'source', 'filter_path']);
139 139
 		$headers = [
140 140
 			'Accept' => 'application/json',
141 141
 			'Content-Type' => 'application/json',
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,8 +26,7 @@
 block discarded – undo
26 26
 /**
27 27
  * @generated This file is generated, please do not edit
28 28
  */
29
-class Esql extends AbstractEndpoint
30
-{
29
+class Esql extends AbstractEndpoint {
31 30
 	/**
32 31
 	 * Executes an ESQL request asynchronously
33 32
 	 *
Please login to merge, or discard this patch.
lib/Vendor/Elastic/Elasticsearch/Endpoints/Ingest.php 2 patches
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -54,10 +54,10 @@  discard block
 block discarded – undo
54 54
 	public function deletePipeline(array $params = [])
55 55
 	{
56 56
 		$this->checkRequiredParameters(['id'], $params);
57
-		$url = '/_ingest/pipeline/' . $this->encode($params['id']);
57
+		$url = '/_ingest/pipeline/'.$this->encode($params['id']);
58 58
 		$method = 'DELETE';
59 59
 
60
-		$url = $this->addQueryString($url, $params, ['master_timeout','timeout','pretty','human','error_trace','source','filter_path']);
60
+		$url = $this->addQueryString($url, $params, ['master_timeout', 'timeout', 'pretty', 'human', 'error_trace', 'source', 'filter_path']);
61 61
 		$headers = [
62 62
 			'Accept' => 'application/json',
63 63
 		];
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
 		$url = '/_ingest/geoip/stats';
90 90
 		$method = 'GET';
91 91
 
92
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
92
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
93 93
 		$headers = [
94 94
 			'Accept' => 'application/json',
95 95
 		];
@@ -122,13 +122,13 @@  discard block
 block discarded – undo
122 122
 	public function getPipeline(array $params = [])
123 123
 	{
124 124
 		if (isset($params['id'])) {
125
-			$url = '/_ingest/pipeline/' . $this->encode($params['id']);
125
+			$url = '/_ingest/pipeline/'.$this->encode($params['id']);
126 126
 			$method = 'GET';
127 127
 		} else {
128 128
 			$url = '/_ingest/pipeline';
129 129
 			$method = 'GET';
130 130
 		}
131
-		$url = $this->addQueryString($url, $params, ['summary','master_timeout','pretty','human','error_trace','source','filter_path']);
131
+		$url = $this->addQueryString($url, $params, ['summary', 'master_timeout', 'pretty', 'human', 'error_trace', 'source', 'filter_path']);
132 132
 		$headers = [
133 133
 			'Accept' => 'application/json',
134 134
 		];
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
 		$url = '/_ingest/processor/grok';
161 161
 		$method = 'GET';
162 162
 
163
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
163
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
164 164
 		$headers = [
165 165
 			'Accept' => 'application/json',
166 166
 		];
@@ -195,11 +195,11 @@  discard block
 block discarded – undo
195 195
 	 */
196 196
 	public function putPipeline(array $params = [])
197 197
 	{
198
-		$this->checkRequiredParameters(['id','body'], $params);
199
-		$url = '/_ingest/pipeline/' . $this->encode($params['id']);
198
+		$this->checkRequiredParameters(['id', 'body'], $params);
199
+		$url = '/_ingest/pipeline/'.$this->encode($params['id']);
200 200
 		$method = 'PUT';
201 201
 
202
-		$url = $this->addQueryString($url, $params, ['if_version','master_timeout','timeout','pretty','human','error_trace','source','filter_path']);
202
+		$url = $this->addQueryString($url, $params, ['if_version', 'master_timeout', 'timeout', 'pretty', 'human', 'error_trace', 'source', 'filter_path']);
203 203
 		$headers = [
204 204
 			'Accept' => 'application/json',
205 205
 			'Content-Type' => 'application/json',
@@ -234,13 +234,13 @@  discard block
 block discarded – undo
234 234
 	{
235 235
 		$this->checkRequiredParameters(['body'], $params);
236 236
 		if (isset($params['id'])) {
237
-			$url = '/_ingest/pipeline/' . $this->encode($params['id']) . '/_simulate';
237
+			$url = '/_ingest/pipeline/'.$this->encode($params['id']).'/_simulate';
238 238
 			$method = empty($params['body']) ? 'GET' : 'POST';
239 239
 		} else {
240 240
 			$url = '/_ingest/pipeline/_simulate';
241 241
 			$method = empty($params['body']) ? 'GET' : 'POST';
242 242
 		}
243
-		$url = $this->addQueryString($url, $params, ['verbose','pretty','human','error_trace','source','filter_path']);
243
+		$url = $this->addQueryString($url, $params, ['verbose', 'pretty', 'human', 'error_trace', 'source', 'filter_path']);
244 244
 		$headers = [
245 245
 			'Accept' => 'application/json',
246 246
 			'Content-Type' => 'application/json',
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,8 +26,7 @@
 block discarded – undo
26 26
 /**
27 27
  * @generated This file is generated, please do not edit
28 28
  */
29
-class Ingest extends AbstractEndpoint
30
-{
29
+class Ingest extends AbstractEndpoint {
31 30
 	/**
32 31
 	 * Deletes a pipeline.
33 32
 	 *
Please login to merge, or discard this patch.
lib/Vendor/Elastic/Elasticsearch/Endpoints/Ilm.php 2 patches
Spacing   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -52,10 +52,10 @@  discard block
 block discarded – undo
52 52
 	public function deleteLifecycle(array $params = [])
53 53
 	{
54 54
 		$this->checkRequiredParameters(['policy'], $params);
55
-		$url = '/_ilm/policy/' . $this->encode($params['policy']);
55
+		$url = '/_ilm/policy/'.$this->encode($params['policy']);
56 56
 		$method = 'DELETE';
57 57
 
58
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
58
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
59 59
 		$headers = [
60 60
 			'Accept' => 'application/json',
61 61
 		];
@@ -89,10 +89,10 @@  discard block
 block discarded – undo
89 89
 	public function explainLifecycle(array $params = [])
90 90
 	{
91 91
 		$this->checkRequiredParameters(['index'], $params);
92
-		$url = '/' . $this->encode($params['index']) . '/_ilm/explain';
92
+		$url = '/'.$this->encode($params['index']).'/_ilm/explain';
93 93
 		$method = 'GET';
94 94
 
95
-		$url = $this->addQueryString($url, $params, ['only_managed','only_errors','pretty','human','error_trace','source','filter_path']);
95
+		$url = $this->addQueryString($url, $params, ['only_managed', 'only_errors', 'pretty', 'human', 'error_trace', 'source', 'filter_path']);
96 96
 		$headers = [
97 97
 			'Accept' => 'application/json',
98 98
 		];
@@ -123,13 +123,13 @@  discard block
 block discarded – undo
123 123
 	public function getLifecycle(array $params = [])
124 124
 	{
125 125
 		if (isset($params['policy'])) {
126
-			$url = '/_ilm/policy/' . $this->encode($params['policy']);
126
+			$url = '/_ilm/policy/'.$this->encode($params['policy']);
127 127
 			$method = 'GET';
128 128
 		} else {
129 129
 			$url = '/_ilm/policy';
130 130
 			$method = 'GET';
131 131
 		}
132
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
132
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
133 133
 		$headers = [
134 134
 			'Accept' => 'application/json',
135 135
 		];
@@ -161,7 +161,7 @@  discard block
 block discarded – undo
161 161
 		$url = '/_ilm/status';
162 162
 		$method = 'GET';
163 163
 
164
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
164
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
165 165
 		$headers = [
166 166
 			'Accept' => 'application/json',
167 167
 		];
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
 		$url = '/_ilm/migrate_to_data_tiers';
196 196
 		$method = 'POST';
197 197
 
198
-		$url = $this->addQueryString($url, $params, ['dry_run','pretty','human','error_trace','source','filter_path']);
198
+		$url = $this->addQueryString($url, $params, ['dry_run', 'pretty', 'human', 'error_trace', 'source', 'filter_path']);
199 199
 		$headers = [
200 200
 			'Accept' => 'application/json',
201 201
 			'Content-Type' => 'application/json',
@@ -229,10 +229,10 @@  discard block
 block discarded – undo
229 229
 	public function moveToStep(array $params = [])
230 230
 	{
231 231
 		$this->checkRequiredParameters(['index'], $params);
232
-		$url = '/_ilm/move/' . $this->encode($params['index']);
232
+		$url = '/_ilm/move/'.$this->encode($params['index']);
233 233
 		$method = 'POST';
234 234
 
235
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
235
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
236 236
 		$headers = [
237 237
 			'Accept' => 'application/json',
238 238
 			'Content-Type' => 'application/json',
@@ -266,10 +266,10 @@  discard block
 block discarded – undo
266 266
 	public function putLifecycle(array $params = [])
267 267
 	{
268 268
 		$this->checkRequiredParameters(['policy'], $params);
269
-		$url = '/_ilm/policy/' . $this->encode($params['policy']);
269
+		$url = '/_ilm/policy/'.$this->encode($params['policy']);
270 270
 		$method = 'PUT';
271 271
 
272
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
272
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
273 273
 		$headers = [
274 274
 			'Accept' => 'application/json',
275 275
 			'Content-Type' => 'application/json',
@@ -302,10 +302,10 @@  discard block
 block discarded – undo
302 302
 	public function removePolicy(array $params = [])
303 303
 	{
304 304
 		$this->checkRequiredParameters(['index'], $params);
305
-		$url = '/' . $this->encode($params['index']) . '/_ilm/remove';
305
+		$url = '/'.$this->encode($params['index']).'/_ilm/remove';
306 306
 		$method = 'POST';
307 307
 
308
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
308
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
309 309
 		$headers = [
310 310
 			'Accept' => 'application/json',
311 311
 		];
@@ -337,10 +337,10 @@  discard block
 block discarded – undo
337 337
 	public function retry(array $params = [])
338 338
 	{
339 339
 		$this->checkRequiredParameters(['index'], $params);
340
-		$url = '/' . $this->encode($params['index']) . '/_ilm/retry';
340
+		$url = '/'.$this->encode($params['index']).'/_ilm/retry';
341 341
 		$method = 'POST';
342 342
 
343
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
343
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
344 344
 		$headers = [
345 345
 			'Accept' => 'application/json',
346 346
 		];
@@ -372,7 +372,7 @@  discard block
 block discarded – undo
372 372
 		$url = '/_ilm/start';
373 373
 		$method = 'POST';
374 374
 
375
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
375
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
376 376
 		$headers = [
377 377
 			'Accept' => 'application/json',
378 378
 		];
@@ -404,7 +404,7 @@  discard block
 block discarded – undo
404 404
 		$url = '/_ilm/stop';
405 405
 		$method = 'POST';
406 406
 
407
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
407
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
408 408
 		$headers = [
409 409
 			'Accept' => 'application/json',
410 410
 		];
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,8 +26,7 @@
 block discarded – undo
26 26
 /**
27 27
  * @generated This file is generated, please do not edit
28 28
  */
29
-class Ilm extends AbstractEndpoint
30
-{
29
+class Ilm extends AbstractEndpoint {
31 30
 	/**
32 31
 	 * Deletes the specified lifecycle policy definition. A currently used policy cannot be deleted.
33 32
 	 *
Please login to merge, or discard this patch.
lib/Vendor/Elastic/Elasticsearch/Endpoints/Connector.php 2 patches
Spacing   +47 added lines, -47 removed lines patch added patch discarded remove patch
@@ -53,10 +53,10 @@  discard block
 block discarded – undo
53 53
 	public function checkIn(array $params = [])
54 54
 	{
55 55
 		$this->checkRequiredParameters(['connector_id'], $params);
56
-		$url = '/_connector/' . $this->encode($params['connector_id']) . '/_check_in';
56
+		$url = '/_connector/'.$this->encode($params['connector_id']).'/_check_in';
57 57
 		$method = 'PUT';
58 58
 
59
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
59
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
60 60
 		$headers = [
61 61
 			'Accept' => 'application/json',
62 62
 		];
@@ -89,10 +89,10 @@  discard block
 block discarded – undo
89 89
 	public function delete(array $params = [])
90 90
 	{
91 91
 		$this->checkRequiredParameters(['connector_id'], $params);
92
-		$url = '/_connector/' . $this->encode($params['connector_id']);
92
+		$url = '/_connector/'.$this->encode($params['connector_id']);
93 93
 		$method = 'DELETE';
94 94
 
95
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
95
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
96 96
 		$headers = [
97 97
 			'Accept' => 'application/json',
98 98
 		];
@@ -125,10 +125,10 @@  discard block
 block discarded – undo
125 125
 	public function get(array $params = [])
126 126
 	{
127 127
 		$this->checkRequiredParameters(['connector_id'], $params);
128
-		$url = '/_connector/' . $this->encode($params['connector_id']);
128
+		$url = '/_connector/'.$this->encode($params['connector_id']);
129 129
 		$method = 'GET';
130 130
 
131
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
131
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
132 132
 		$headers = [
133 133
 			'Accept' => 'application/json',
134 134
 		];
@@ -161,11 +161,11 @@  discard block
 block discarded – undo
161 161
 	 */
162 162
 	public function lastSync(array $params = [])
163 163
 	{
164
-		$this->checkRequiredParameters(['connector_id','body'], $params);
165
-		$url = '/_connector/' . $this->encode($params['connector_id']) . '/_last_sync';
164
+		$this->checkRequiredParameters(['connector_id', 'body'], $params);
165
+		$url = '/_connector/'.$this->encode($params['connector_id']).'/_last_sync';
166 166
 		$method = 'PUT';
167 167
 
168
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
168
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
169 169
 		$headers = [
170 170
 			'Accept' => 'application/json',
171 171
 			'Content-Type' => 'application/json',
@@ -205,7 +205,7 @@  discard block
 block discarded – undo
205 205
 		$url = '/_connector';
206 206
 		$method = 'GET';
207 207
 
208
-		$url = $this->addQueryString($url, $params, ['from','size','index_name','connector_name','service_type','query','pretty','human','error_trace','source','filter_path']);
208
+		$url = $this->addQueryString($url, $params, ['from', 'size', 'index_name', 'connector_name', 'service_type', 'query', 'pretty', 'human', 'error_trace', 'source', 'filter_path']);
209 209
 		$headers = [
210 210
 			'Accept' => 'application/json',
211 211
 		];
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
 		$url = '/_connector';
241 241
 		$method = 'POST';
242 242
 
243
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
243
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
244 244
 		$headers = [
245 245
 			'Accept' => 'application/json',
246 246
 			'Content-Type' => 'application/json',
@@ -274,11 +274,11 @@  discard block
 block discarded – undo
274 274
 	 */
275 275
 	public function put(array $params = [])
276 276
 	{
277
-		$this->checkRequiredParameters(['connector_id','body'], $params);
278
-		$url = '/_connector/' . $this->encode($params['connector_id']);
277
+		$this->checkRequiredParameters(['connector_id', 'body'], $params);
278
+		$url = '/_connector/'.$this->encode($params['connector_id']);
279 279
 		$method = 'PUT';
280 280
 
281
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
281
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
282 282
 		$headers = [
283 283
 			'Accept' => 'application/json',
284 284
 			'Content-Type' => 'application/json',
@@ -312,11 +312,11 @@  discard block
 block discarded – undo
312 312
 	 */
313 313
 	public function updateApiKeyId(array $params = [])
314 314
 	{
315
-		$this->checkRequiredParameters(['connector_id','body'], $params);
316
-		$url = '/_connector/' . $this->encode($params['connector_id']) . '/_api_key_id';
315
+		$this->checkRequiredParameters(['connector_id', 'body'], $params);
316
+		$url = '/_connector/'.$this->encode($params['connector_id']).'/_api_key_id';
317 317
 		$method = 'PUT';
318 318
 
319
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
319
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
320 320
 		$headers = [
321 321
 			'Accept' => 'application/json',
322 322
 			'Content-Type' => 'application/json',
@@ -350,11 +350,11 @@  discard block
 block discarded – undo
350 350
 	 */
351 351
 	public function updateConfiguration(array $params = [])
352 352
 	{
353
-		$this->checkRequiredParameters(['connector_id','body'], $params);
354
-		$url = '/_connector/' . $this->encode($params['connector_id']) . '/_configuration';
353
+		$this->checkRequiredParameters(['connector_id', 'body'], $params);
354
+		$url = '/_connector/'.$this->encode($params['connector_id']).'/_configuration';
355 355
 		$method = 'PUT';
356 356
 
357
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
357
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
358 358
 		$headers = [
359 359
 			'Accept' => 'application/json',
360 360
 			'Content-Type' => 'application/json',
@@ -388,11 +388,11 @@  discard block
 block discarded – undo
388 388
 	 */
389 389
 	public function updateError(array $params = [])
390 390
 	{
391
-		$this->checkRequiredParameters(['connector_id','body'], $params);
392
-		$url = '/_connector/' . $this->encode($params['connector_id']) . '/_error';
391
+		$this->checkRequiredParameters(['connector_id', 'body'], $params);
392
+		$url = '/_connector/'.$this->encode($params['connector_id']).'/_error';
393 393
 		$method = 'PUT';
394 394
 
395
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
395
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
396 396
 		$headers = [
397 397
 			'Accept' => 'application/json',
398 398
 			'Content-Type' => 'application/json',
@@ -426,11 +426,11 @@  discard block
 block discarded – undo
426 426
 	 */
427 427
 	public function updateFiltering(array $params = [])
428 428
 	{
429
-		$this->checkRequiredParameters(['connector_id','body'], $params);
430
-		$url = '/_connector/' . $this->encode($params['connector_id']) . '/_filtering';
429
+		$this->checkRequiredParameters(['connector_id', 'body'], $params);
430
+		$url = '/_connector/'.$this->encode($params['connector_id']).'/_filtering';
431 431
 		$method = 'PUT';
432 432
 
433
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
433
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
434 434
 		$headers = [
435 435
 			'Accept' => 'application/json',
436 436
 			'Content-Type' => 'application/json',
@@ -464,11 +464,11 @@  discard block
 block discarded – undo
464 464
 	 */
465 465
 	public function updateIndexName(array $params = [])
466 466
 	{
467
-		$this->checkRequiredParameters(['connector_id','body'], $params);
468
-		$url = '/_connector/' . $this->encode($params['connector_id']) . '/_index_name';
467
+		$this->checkRequiredParameters(['connector_id', 'body'], $params);
468
+		$url = '/_connector/'.$this->encode($params['connector_id']).'/_index_name';
469 469
 		$method = 'PUT';
470 470
 
471
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
471
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
472 472
 		$headers = [
473 473
 			'Accept' => 'application/json',
474 474
 			'Content-Type' => 'application/json',
@@ -502,11 +502,11 @@  discard block
 block discarded – undo
502 502
 	 */
503 503
 	public function updateName(array $params = [])
504 504
 	{
505
-		$this->checkRequiredParameters(['connector_id','body'], $params);
506
-		$url = '/_connector/' . $this->encode($params['connector_id']) . '/_name';
505
+		$this->checkRequiredParameters(['connector_id', 'body'], $params);
506
+		$url = '/_connector/'.$this->encode($params['connector_id']).'/_name';
507 507
 		$method = 'PUT';
508 508
 
509
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
509
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
510 510
 		$headers = [
511 511
 			'Accept' => 'application/json',
512 512
 			'Content-Type' => 'application/json',
@@ -540,11 +540,11 @@  discard block
 block discarded – undo
540 540
 	 */
541 541
 	public function updateNative(array $params = [])
542 542
 	{
543
-		$this->checkRequiredParameters(['connector_id','body'], $params);
544
-		$url = '/_connector/' . $this->encode($params['connector_id']) . '/_native';
543
+		$this->checkRequiredParameters(['connector_id', 'body'], $params);
544
+		$url = '/_connector/'.$this->encode($params['connector_id']).'/_native';
545 545
 		$method = 'PUT';
546 546
 
547
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
547
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
548 548
 		$headers = [
549 549
 			'Accept' => 'application/json',
550 550
 			'Content-Type' => 'application/json',
@@ -578,11 +578,11 @@  discard block
 block discarded – undo
578 578
 	 */
579 579
 	public function updatePipeline(array $params = [])
580 580
 	{
581
-		$this->checkRequiredParameters(['connector_id','body'], $params);
582
-		$url = '/_connector/' . $this->encode($params['connector_id']) . '/_pipeline';
581
+		$this->checkRequiredParameters(['connector_id', 'body'], $params);
582
+		$url = '/_connector/'.$this->encode($params['connector_id']).'/_pipeline';
583 583
 		$method = 'PUT';
584 584
 
585
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
585
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
586 586
 		$headers = [
587 587
 			'Accept' => 'application/json',
588 588
 			'Content-Type' => 'application/json',
@@ -616,11 +616,11 @@  discard block
 block discarded – undo
616 616
 	 */
617 617
 	public function updateScheduling(array $params = [])
618 618
 	{
619
-		$this->checkRequiredParameters(['connector_id','body'], $params);
620
-		$url = '/_connector/' . $this->encode($params['connector_id']) . '/_scheduling';
619
+		$this->checkRequiredParameters(['connector_id', 'body'], $params);
620
+		$url = '/_connector/'.$this->encode($params['connector_id']).'/_scheduling';
621 621
 		$method = 'PUT';
622 622
 
623
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
623
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
624 624
 		$headers = [
625 625
 			'Accept' => 'application/json',
626 626
 			'Content-Type' => 'application/json',
@@ -654,11 +654,11 @@  discard block
 block discarded – undo
654 654
 	 */
655 655
 	public function updateServiceType(array $params = [])
656 656
 	{
657
-		$this->checkRequiredParameters(['connector_id','body'], $params);
658
-		$url = '/_connector/' . $this->encode($params['connector_id']) . '/_service_type';
657
+		$this->checkRequiredParameters(['connector_id', 'body'], $params);
658
+		$url = '/_connector/'.$this->encode($params['connector_id']).'/_service_type';
659 659
 		$method = 'PUT';
660 660
 
661
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
661
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
662 662
 		$headers = [
663 663
 			'Accept' => 'application/json',
664 664
 			'Content-Type' => 'application/json',
@@ -692,11 +692,11 @@  discard block
 block discarded – undo
692 692
 	 */
693 693
 	public function updateStatus(array $params = [])
694 694
 	{
695
-		$this->checkRequiredParameters(['connector_id','body'], $params);
696
-		$url = '/_connector/' . $this->encode($params['connector_id']) . '/_status';
695
+		$this->checkRequiredParameters(['connector_id', 'body'], $params);
696
+		$url = '/_connector/'.$this->encode($params['connector_id']).'/_status';
697 697
 		$method = 'PUT';
698 698
 
699
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
699
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
700 700
 		$headers = [
701 701
 			'Accept' => 'application/json',
702 702
 			'Content-Type' => 'application/json',
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,8 +26,7 @@
 block discarded – undo
26 26
 /**
27 27
  * @generated This file is generated, please do not edit
28 28
  */
29
-class Connector extends AbstractEndpoint
30
-{
29
+class Connector extends AbstractEndpoint {
31 30
 	/**
32 31
 	 * Updates the last_seen timestamp in the connector document.
33 32
 	 *
Please login to merge, or discard this patch.
lib/Vendor/Elastic/Elasticsearch/Endpoints/Synonyms.php 2 patches
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -52,10 +52,10 @@  discard block
 block discarded – undo
52 52
 	public function deleteSynonym(array $params = [])
53 53
 	{
54 54
 		$this->checkRequiredParameters(['id'], $params);
55
-		$url = '/_synonyms/' . $this->encode($params['id']);
55
+		$url = '/_synonyms/'.$this->encode($params['id']);
56 56
 		$method = 'DELETE';
57 57
 
58
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
58
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
59 59
 		$headers = [
60 60
 			'Accept' => 'application/json',
61 61
 		];
@@ -87,11 +87,11 @@  discard block
 block discarded – undo
87 87
 	 */
88 88
 	public function deleteSynonymRule(array $params = [])
89 89
 	{
90
-		$this->checkRequiredParameters(['set_id','rule_id'], $params);
91
-		$url = '/_synonyms/' . $this->encode($params['set_id']) . '/' . $this->encode($params['rule_id']);
90
+		$this->checkRequiredParameters(['set_id', 'rule_id'], $params);
91
+		$url = '/_synonyms/'.$this->encode($params['set_id']).'/'.$this->encode($params['rule_id']);
92 92
 		$method = 'DELETE';
93 93
 
94
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
94
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
95 95
 		$headers = [
96 96
 			'Accept' => 'application/json',
97 97
 			'Content-Type' => 'application/json',
@@ -126,10 +126,10 @@  discard block
 block discarded – undo
126 126
 	public function getSynonym(array $params = [])
127 127
 	{
128 128
 		$this->checkRequiredParameters(['id'], $params);
129
-		$url = '/_synonyms/' . $this->encode($params['id']);
129
+		$url = '/_synonyms/'.$this->encode($params['id']);
130 130
 		$method = 'GET';
131 131
 
132
-		$url = $this->addQueryString($url, $params, ['from','size','pretty','human','error_trace','source','filter_path']);
132
+		$url = $this->addQueryString($url, $params, ['from', 'size', 'pretty', 'human', 'error_trace', 'source', 'filter_path']);
133 133
 		$headers = [
134 134
 			'Accept' => 'application/json',
135 135
 		];
@@ -161,11 +161,11 @@  discard block
 block discarded – undo
161 161
 	 */
162 162
 	public function getSynonymRule(array $params = [])
163 163
 	{
164
-		$this->checkRequiredParameters(['set_id','rule_id'], $params);
165
-		$url = '/_synonyms/' . $this->encode($params['set_id']) . '/' . $this->encode($params['rule_id']);
164
+		$this->checkRequiredParameters(['set_id', 'rule_id'], $params);
165
+		$url = '/_synonyms/'.$this->encode($params['set_id']).'/'.$this->encode($params['rule_id']);
166 166
 		$method = 'GET';
167 167
 
168
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
168
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
169 169
 		$headers = [
170 170
 			'Accept' => 'application/json',
171 171
 			'Content-Type' => 'application/json',
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
 		$url = '/_synonyms';
201 201
 		$method = 'GET';
202 202
 
203
-		$url = $this->addQueryString($url, $params, ['from','size','pretty','human','error_trace','source','filter_path']);
203
+		$url = $this->addQueryString($url, $params, ['from', 'size', 'pretty', 'human', 'error_trace', 'source', 'filter_path']);
204 204
 		$headers = [
205 205
 			'Accept' => 'application/json',
206 206
 		];
@@ -232,11 +232,11 @@  discard block
 block discarded – undo
232 232
 	 */
233 233
 	public function putSynonym(array $params = [])
234 234
 	{
235
-		$this->checkRequiredParameters(['id','body'], $params);
236
-		$url = '/_synonyms/' . $this->encode($params['id']);
235
+		$this->checkRequiredParameters(['id', 'body'], $params);
236
+		$url = '/_synonyms/'.$this->encode($params['id']);
237 237
 		$method = 'PUT';
238 238
 
239
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
239
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
240 240
 		$headers = [
241 241
 			'Accept' => 'application/json',
242 242
 			'Content-Type' => 'application/json',
@@ -270,11 +270,11 @@  discard block
 block discarded – undo
270 270
 	 */
271 271
 	public function putSynonymRule(array $params = [])
272 272
 	{
273
-		$this->checkRequiredParameters(['set_id','rule_id','body'], $params);
274
-		$url = '/_synonyms/' . $this->encode($params['set_id']) . '/' . $this->encode($params['rule_id']);
273
+		$this->checkRequiredParameters(['set_id', 'rule_id', 'body'], $params);
274
+		$url = '/_synonyms/'.$this->encode($params['set_id']).'/'.$this->encode($params['rule_id']);
275 275
 		$method = 'PUT';
276 276
 
277
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
277
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
278 278
 		$headers = [
279 279
 			'Accept' => 'application/json',
280 280
 			'Content-Type' => 'application/json',
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,8 +26,7 @@
 block discarded – undo
26 26
 /**
27 27
  * @generated This file is generated, please do not edit
28 28
  */
29
-class Synonyms extends AbstractEndpoint
30
-{
29
+class Synonyms extends AbstractEndpoint {
31 30
 	/**
32 31
 	 * Deletes a synonym set
33 32
 	 *
Please login to merge, or discard this patch.
lib/Vendor/Elastic/Elasticsearch/Endpoints/Rollup.php 2 patches
Spacing   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -53,10 +53,10 @@  discard block
 block discarded – undo
53 53
 	public function deleteJob(array $params = [])
54 54
 	{
55 55
 		$this->checkRequiredParameters(['id'], $params);
56
-		$url = '/_rollup/job/' . $this->encode($params['id']);
56
+		$url = '/_rollup/job/'.$this->encode($params['id']);
57 57
 		$method = 'DELETE';
58 58
 
59
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
59
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
60 60
 		$headers = [
61 61
 			'Accept' => 'application/json',
62 62
 		];
@@ -88,13 +88,13 @@  discard block
 block discarded – undo
88 88
 	public function getJobs(array $params = [])
89 89
 	{
90 90
 		if (isset($params['id'])) {
91
-			$url = '/_rollup/job/' . $this->encode($params['id']);
91
+			$url = '/_rollup/job/'.$this->encode($params['id']);
92 92
 			$method = 'GET';
93 93
 		} else {
94 94
 			$url = '/_rollup/job/';
95 95
 			$method = 'GET';
96 96
 		}
97
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
97
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
98 98
 		$headers = [
99 99
 			'Accept' => 'application/json',
100 100
 		];
@@ -126,13 +126,13 @@  discard block
 block discarded – undo
126 126
 	public function getRollupCaps(array $params = [])
127 127
 	{
128 128
 		if (isset($params['id'])) {
129
-			$url = '/_rollup/data/' . $this->encode($params['id']);
129
+			$url = '/_rollup/data/'.$this->encode($params['id']);
130 130
 			$method = 'GET';
131 131
 		} else {
132 132
 			$url = '/_rollup/data/';
133 133
 			$method = 'GET';
134 134
 		}
135
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
135
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
136 136
 		$headers = [
137 137
 			'Accept' => 'application/json',
138 138
 		];
@@ -165,10 +165,10 @@  discard block
 block discarded – undo
165 165
 	public function getRollupIndexCaps(array $params = [])
166 166
 	{
167 167
 		$this->checkRequiredParameters(['index'], $params);
168
-		$url = '/' . $this->encode($params['index']) . '/_rollup/data';
168
+		$url = '/'.$this->encode($params['index']).'/_rollup/data';
169 169
 		$method = 'GET';
170 170
 
171
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
171
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
172 172
 		$headers = [
173 173
 			'Accept' => 'application/json',
174 174
 		];
@@ -201,11 +201,11 @@  discard block
 block discarded – undo
201 201
 	 */
202 202
 	public function putJob(array $params = [])
203 203
 	{
204
-		$this->checkRequiredParameters(['id','body'], $params);
205
-		$url = '/_rollup/job/' . $this->encode($params['id']);
204
+		$this->checkRequiredParameters(['id', 'body'], $params);
205
+		$url = '/_rollup/job/'.$this->encode($params['id']);
206 206
 		$method = 'PUT';
207 207
 
208
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
208
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
209 209
 		$headers = [
210 210
 			'Accept' => 'application/json',
211 211
 			'Content-Type' => 'application/json',
@@ -241,11 +241,11 @@  discard block
 block discarded – undo
241 241
 	 */
242 242
 	public function rollupSearch(array $params = [])
243 243
 	{
244
-		$this->checkRequiredParameters(['index','body'], $params);
245
-		$url = '/' . $this->encode($params['index']) . '/_rollup_search';
244
+		$this->checkRequiredParameters(['index', 'body'], $params);
245
+		$url = '/'.$this->encode($params['index']).'/_rollup_search';
246 246
 		$method = empty($params['body']) ? 'GET' : 'POST';
247 247
 
248
-		$url = $this->addQueryString($url, $params, ['typed_keys','rest_total_hits_as_int','pretty','human','error_trace','source','filter_path']);
248
+		$url = $this->addQueryString($url, $params, ['typed_keys', 'rest_total_hits_as_int', 'pretty', 'human', 'error_trace', 'source', 'filter_path']);
249 249
 		$headers = [
250 250
 			'Accept' => 'application/json',
251 251
 			'Content-Type' => 'application/json',
@@ -279,10 +279,10 @@  discard block
 block discarded – undo
279 279
 	public function startJob(array $params = [])
280 280
 	{
281 281
 		$this->checkRequiredParameters(['id'], $params);
282
-		$url = '/_rollup/job/' . $this->encode($params['id']) . '/_start';
282
+		$url = '/_rollup/job/'.$this->encode($params['id']).'/_start';
283 283
 		$method = 'POST';
284 284
 
285
-		$url = $this->addQueryString($url, $params, ['pretty','human','error_trace','source','filter_path']);
285
+		$url = $this->addQueryString($url, $params, ['pretty', 'human', 'error_trace', 'source', 'filter_path']);
286 286
 		$headers = [
287 287
 			'Accept' => 'application/json',
288 288
 		];
@@ -317,10 +317,10 @@  discard block
 block discarded – undo
317 317
 	public function stopJob(array $params = [])
318 318
 	{
319 319
 		$this->checkRequiredParameters(['id'], $params);
320
-		$url = '/_rollup/job/' . $this->encode($params['id']) . '/_stop';
320
+		$url = '/_rollup/job/'.$this->encode($params['id']).'/_stop';
321 321
 		$method = 'POST';
322 322
 
323
-		$url = $this->addQueryString($url, $params, ['wait_for_completion','timeout','pretty','human','error_trace','source','filter_path']);
323
+		$url = $this->addQueryString($url, $params, ['wait_for_completion', 'timeout', 'pretty', 'human', 'error_trace', 'source', 'filter_path']);
324 324
 		$headers = [
325 325
 			'Accept' => 'application/json',
326 326
 		];
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,8 +26,7 @@
 block discarded – undo
26 26
 /**
27 27
  * @generated This file is generated, please do not edit
28 28
  */
29
-class Rollup extends AbstractEndpoint
30
-{
29
+class Rollup extends AbstractEndpoint {
31 30
 	/**
32 31
 	 * Deletes an existing rollup job.
33 32
 	 *
Please login to merge, or discard this patch.
lib/Vendor/Elastic/Elasticsearch/Endpoints/TextStructure.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
 		$url = '/_text_structure/find_structure';
70 70
 		$method = 'POST';
71 71
 
72
-		$url = $this->addQueryString($url, $params, ['lines_to_sample','line_merge_size_limit','timeout','charset','format','has_header_row','column_names','delimiter','quote','should_trim_fields','grok_pattern','ecs_compatibility','timestamp_field','timestamp_format','explain','pretty','human','error_trace','source','filter_path']);
72
+		$url = $this->addQueryString($url, $params, ['lines_to_sample', 'line_merge_size_limit', 'timeout', 'charset', 'format', 'has_header_row', 'column_names', 'delimiter', 'quote', 'should_trim_fields', 'grok_pattern', 'ecs_compatibility', 'timestamp_field', 'timestamp_format', 'explain', 'pretty', 'human', 'error_trace', 'source', 'filter_path']);
73 73
 		$headers = [
74 74
 			'Accept' => 'application/json',
75 75
 			'Content-Type' => 'application/x-ndjson',
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
 		$url = '/_text_structure/test_grok_pattern';
106 106
 		$method = empty($params['body']) ? 'GET' : 'POST';
107 107
 
108
-		$url = $this->addQueryString($url, $params, ['ecs_compatibility','pretty','human','error_trace','source','filter_path']);
108
+		$url = $this->addQueryString($url, $params, ['ecs_compatibility', 'pretty', 'human', 'error_trace', 'source', 'filter_path']);
109 109
 		$headers = [
110 110
 			'Accept' => 'application/json',
111 111
 			'Content-Type' => 'application/json',
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,8 +26,7 @@
 block discarded – undo
26 26
 /**
27 27
  * @generated This file is generated, please do not edit
28 28
  */
29
-class TextStructure extends AbstractEndpoint
30
-{
29
+class TextStructure extends AbstractEndpoint {
31 30
 	/**
32 31
 	 * Finds the structure of a text file. The text file must contain data that is suitable to be ingested into Elasticsearch.
33 32
 	 *
Please login to merge, or discard this patch.