From bb385490bc4f4c44c348a508cab69a0c4888b1eb Mon Sep 17 00:00:00 2001 From: Matias Griese Date: Thu, 7 Mar 2019 11:15:16 +0200 Subject: [PATCH] Regression: index not working due to missing method --- system/src/Grav/Framework/Flex/FlexIndex.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/system/src/Grav/Framework/Flex/FlexIndex.php b/system/src/Grav/Framework/Flex/FlexIndex.php index 4dadb7b8f..9a9a705db 100644 --- a/system/src/Grav/Framework/Flex/FlexIndex.php +++ b/system/src/Grav/Framework/Flex/FlexIndex.php @@ -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 */