@@ -56,9 +56,9 @@ public function delete(array $params = [])
5656 $ method = 'DELETE ' ;
5757
5858 $ url = $ this ->addQueryString ($ url , $ params , ['pretty ' ,'human ' ,'error_trace ' ,'source ' ,'filter_path ' ]);
59- $ headers = array (
60- 'Accept ' => 'application/json ' ,
61- ) ;
59+ $ headers = [
60+ 'Accept ' => 'application/json ' ,
61+ ] ;
6262 return $ this ->client ->sendRequest ($ this ->createRequest ($ method , $ url , $ headers , $ params ['body ' ] ?? null ));
6363 }
6464
@@ -94,9 +94,9 @@ public function get(array $params = [])
9494 $ method = 'GET ' ;
9595
9696 $ url = $ this ->addQueryString ($ url , $ params , ['wait_for_completion_timeout ' ,'keep_alive ' ,'typed_keys ' ,'pretty ' ,'human ' ,'error_trace ' ,'source ' ,'filter_path ' ]);
97- $ headers = array (
98- 'Accept ' => 'application/json ' ,
99- ) ;
97+ $ headers = [
98+ 'Accept ' => 'application/json ' ,
99+ ] ;
100100 return $ this ->client ->sendRequest ($ this ->createRequest ($ method , $ url , $ headers , $ params ['body ' ] ?? null ));
101101 }
102102
@@ -129,9 +129,9 @@ public function status(array $params = [])
129129 $ method = 'GET ' ;
130130
131131 $ url = $ this ->addQueryString ($ url , $ params , ['pretty ' ,'human ' ,'error_trace ' ,'source ' ,'filter_path ' ]);
132- $ headers = array (
133- 'Accept ' => 'application/json ' ,
134- ) ;
132+ $ headers = [
133+ 'Accept ' => 'application/json ' ,
134+ ] ;
135135 return $ this ->client ->sendRequest ($ this ->createRequest ($ method , $ url , $ headers , $ params ['body ' ] ?? null ));
136136 }
137137
@@ -209,10 +209,10 @@ public function submit(array $params = [])
209209 $ method = 'POST ' ;
210210 }
211211 $ url = $ this ->addQueryString ($ url , $ params , ['wait_for_completion_timeout ' ,'keep_on_completion ' ,'keep_alive ' ,'batched_reduce_size ' ,'request_cache ' ,'analyzer ' ,'analyze_wildcard ' ,'default_operator ' ,'df ' ,'explain ' ,'stored_fields ' ,'docvalue_fields ' ,'from ' ,'ignore_unavailable ' ,'ignore_throttled ' ,'allow_no_indices ' ,'expand_wildcards ' ,'lenient ' ,'preference ' ,'q ' ,'routing ' ,'search_type ' ,'size ' ,'sort ' ,'_source ' ,'_source_excludes ' ,'_source_includes ' ,'terminate_after ' ,'stats ' ,'suggest_field ' ,'suggest_mode ' ,'suggest_size ' ,'suggest_text ' ,'timeout ' ,'track_scores ' ,'track_total_hits ' ,'allow_partial_search_results ' ,'typed_keys ' ,'version ' ,'seq_no_primary_term ' ,'max_concurrent_shard_requests ' ,'pretty ' ,'human ' ,'error_trace ' ,'source ' ,'filter_path ' ]);
212- $ headers = array (
213- 'Accept ' => 'application/json ' ,
214- 'Content-Type ' => 'application/json ' ,
215- ) ;
212+ $ headers = [
213+ 'Accept ' => 'application/json ' ,
214+ 'Content-Type ' => 'application/json ' ,
215+ ] ;
216216 return $ this ->client ->sendRequest ($ this ->createRequest ($ method , $ url , $ headers , $ params ['body ' ] ?? null ));
217217 }
218218}
0 commit comments