From c3ff8cda9aeaa1ffc451d1f10110fa5c5c66e7a7 Mon Sep 17 00:00:00 2001 From: Awilum Date: Mon, 3 Aug 2020 00:25:27 +0300 Subject: [PATCH] refactor(entries): update return type for fethcCollection() method --- src/flextype/app/Foundation/Entries/Entries.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/flextype/app/Foundation/Entries/Entries.php b/src/flextype/app/Foundation/Entries/Entries.php index 6b38ac78..cf77aa4f 100755 --- a/src/flextype/app/Foundation/Entries/Entries.php +++ b/src/flextype/app/Foundation/Entries/Entries.php @@ -175,11 +175,11 @@ class Entries * @param string $path Unique identifier of the entry(entries). * @param array $filter Select items in collection by given conditions. * - * @return array The entries array data. + * @return array|bool|int * * @access public */ - public function fetchCollection(string $path, $filter = []) : array + public function fetchCollection(string $path, $filter = []) { // Init Entries object $this->entries = [];