From c603567a02915f22e406447cd230e3c15f272ab1 Mon Sep 17 00:00:00 2001 From: Janez Urevc Date: Thu, 14 Apr 2022 13:18:45 +0200 Subject: [PATCH] Fix level 0 PHPStan errors. --- src/Abstracts/AbstractQuery.php | 5 +++++ src/Managers/IndicesManager.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/Abstracts/AbstractQuery.php b/src/Abstracts/AbstractQuery.php index f49b002..65db6c9 100644 --- a/src/Abstracts/AbstractQuery.php +++ b/src/Abstracts/AbstractQuery.php @@ -51,6 +51,11 @@ abstract class AbstractQuery */ protected $fragmentParser; + /** + * @var array + */ + protected $types; + /** * Prepare the query. Add filters, sorting, .... */ diff --git a/src/Managers/IndicesManager.php b/src/Managers/IndicesManager.php index 3ae8a25..3cd42fc 100644 --- a/src/Managers/IndicesManager.php +++ b/src/Managers/IndicesManager.php @@ -43,7 +43,7 @@ public function registerIndices(array $indices) } /** - * @return AbstractIndex + * @return void * * @param string $indexName */