Skip to content

Commit 4e011fe

Browse files
committed
chaining method
1 parent a9a109f commit 4e011fe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ElasticquentMultiSearch.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ public function __construct(array $attributes = [])
3030
public function setIndexName($indices)
3131
{
3232
$this->indices = $indices;
33+
return $this;
3334
}
3435

3536
public function getIndexName()
@@ -44,6 +45,7 @@ public function getIndexName()
4445
public function setTypeName($types)
4546
{
4647
$this->types = $types;
48+
return $this;
4749

4850
}
4951

0 commit comments

Comments
 (0)