diff --git a/lib/Model/Search/MultipleBatchRequest.php b/lib/Model/Search/MultipleBatchRequest.php index fb2e25f0..7885dbd3 100644 --- a/lib/Model/Search/MultipleBatchRequest.php +++ b/lib/Model/Search/MultipleBatchRequest.php @@ -157,9 +157,6 @@ public function listInvalidProperties() if (!isset($this->container['action']) || null === $this->container['action']) { $invalidProperties[] = "'action' can't be null"; } - if (!isset($this->container['body']) || null === $this->container['body']) { - $invalidProperties[] = "'body' can't be null"; - } if (!isset($this->container['indexName']) || null === $this->container['indexName']) { $invalidProperties[] = "'indexName' can't be null"; } @@ -205,7 +202,7 @@ public function setAction($action) /** * Gets body. * - * @return object + * @return null|object */ public function getBody() { @@ -215,7 +212,7 @@ public function getBody() /** * Sets body. * - * @param object $body operation arguments (varies with specified `action`) + * @param null|object $body operation arguments (varies with specified `action`) * * @return self */