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:
@@ -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 = [];
|
||||
|
Reference in New Issue
Block a user