File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -157,9 +157,6 @@ public function listInvalidProperties()
157
157
if (!isset ($ this ->container ['action ' ]) || null === $ this ->container ['action ' ]) {
158
158
$ invalidProperties [] = "'action' can't be null " ;
159
159
}
160
- if (!isset ($ this ->container ['body ' ]) || null === $ this ->container ['body ' ]) {
161
- $ invalidProperties [] = "'body' can't be null " ;
162
- }
163
160
if (!isset ($ this ->container ['indexName ' ]) || null === $ this ->container ['indexName ' ]) {
164
161
$ invalidProperties [] = "'indexName' can't be null " ;
165
162
}
@@ -205,7 +202,7 @@ public function setAction($action)
205
202
/**
206
203
* Gets body.
207
204
*
208
- * @return object
205
+ * @return null| object
209
206
*/
210
207
public function getBody ()
211
208
{
@@ -215,7 +212,7 @@ public function getBody()
215
212
/**
216
213
* Sets body.
217
214
*
218
- * @param object $body operation arguments (varies with specified `action`)
215
+ * @param null| object $body operation arguments (varies with specified `action`)
219
216
*
220
217
* @return self
221
218
*/
You can’t perform that action at this time.
0 commit comments