Regression: index not working due to missing method

This commit is contained in:
Matias Griese
2019-03-07 11:15:16 +02:00
parent a5e48ba160
commit bb385490bc

View File

@@ -82,6 +82,17 @@ class FlexIndex extends ObjectIndex implements FlexCollectionInterface, FlexInde
$this->setKeyField(null);
}
/**
* @param string $search
* @param string|string[]|null $properties
* @param array|null $options
* @return FlexCollectionInterface
*/
public function search(string $search, $properties = null, array $options = null) // : FlexCollectionInterface
{
return $this->__call('search', [$search, $properties, $options]);
}
/**
* @return FlexDirectory
*/