diff --git a/src/ElasticquentMultiSearch.php b/src/ElasticquentMultiSearch.php index 2c74109..ee3cbd7 100644 --- a/src/ElasticquentMultiSearch.php +++ b/src/ElasticquentMultiSearch.php @@ -30,6 +30,7 @@ public function __construct(array $attributes = []) public function setIndexName($indices) { $this->indices = $indices; + return $this; } public function getIndexName() @@ -44,6 +45,7 @@ public function getIndexName() public function setTypeName($types) { $this->types = $types; + return $this; }