1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-10 07:06:45 +02:00

refactor(entries): update return type for fethcCollection() method

This commit is contained in:
Awilum
2020-08-03 00:25:27 +03:00
parent 905cfc22ae
commit c3ff8cda9a

View File

@@ -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 = [];