Skip to content

Commit 990b89f

Browse files
committed
Merge pull request #732 from dpetek/hotfix-openIndex
Return response when opening an index
2 parents 664e805 + ed870f5 commit 990b89f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Elastica/Index.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ public function count($query = '')
314314
*/
315315
public function open()
316316
{
317-
$this->request('_open', Request::POST);
317+
return $this->request('_open', Request::POST);
318318
}
319319

320320
/**

0 commit comments

Comments
 (0)