Skip to content

Commit 834c6f6

Browse files
committed
Fixing function comments and Client asciidoc
1 parent 95689cd commit 834c6f6

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

docs/build/Elasticsearch/Client.asciidoc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,6 @@ $response = $client->updateByQuery($params);
931931
----
932932
/*
933933
$params['id'] = (string) The script ID (Required)
934-
['lang'] = (string) The script language (Required)
935934
['body'] = (array) Request body
936935
*/
937936
@@ -953,7 +952,6 @@ $response = $client->getScript($params);
953952
----
954953
/*
955954
$params['id'] = (string) The script ID (Required)
956-
['lang'] = (string) The script language (Required)
957955
['body'] = (array) Request body
958956
*/
959957
@@ -975,7 +973,6 @@ $response = $client->deleteScript($params);
975973
----
976974
/*
977975
$params['id'] = (string) The script ID (Required)
978-
['lang'] = (string) The script language (Required)
979976
['body'] = (array) Request body
980977
*/
981978

src/Elasticsearch/Client.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1204,7 +1204,6 @@ public function updateByQuery($params = array())
12041204

12051205
/**
12061206
* $params['id'] = (string) The script ID (Required)
1207-
* ['lang'] = (string) The script language (Required)
12081207
*
12091208
* @param array $params Associative array of parameters
12101209
*
@@ -1227,7 +1226,6 @@ public function getScript($params)
12271226

12281227
/**
12291228
* $params['id'] = (string) The script ID (Required)
1230-
* ['lang'] = (string) The script language (Required)
12311229
*
12321230
* @param array $params Associative array of parameters
12331231
*
@@ -1250,7 +1248,6 @@ public function deleteScript($params)
12501248

12511249
/**
12521250
* $params['id'] = (string) The script ID (Required)
1253-
* ['lang'] = (string) The script language (Required)
12541251
*
12551252
* @param array $params Associative array of parameters
12561253
*
@@ -1259,7 +1256,6 @@ public function deleteScript($params)
12591256
public function putScript($params)
12601257
{
12611258
$id = $this->extractArgument($params, 'id');
1262-
$lang = $this->extractArgument($params, 'lang');
12631259
$body = $this->extractArgument($params, 'body');
12641260

12651261
/** @var callback $endpointBuilder */

0 commit comments

Comments
 (0)