mirror of
https://github.com/flextype/flextype.git
synced 2025-08-09 22:56:46 +02:00
feat(element-queries): refactor #436
This commit is contained in:
@@ -13,7 +13,7 @@ if (! function_exists('collect')) {
|
||||
/**
|
||||
* Create a collection from the given value.
|
||||
*
|
||||
* @param mixed $value
|
||||
* @param mixed $items Items
|
||||
*/
|
||||
function collect($items) : Collection
|
||||
{
|
||||
@@ -25,7 +25,8 @@ if (! function_exists('collect_filter')) {
|
||||
/**
|
||||
* Create a collection from the given value and filter it.
|
||||
*
|
||||
* @param mixed $value
|
||||
* @param mixed $items Items
|
||||
* @param array $filter Filters array
|
||||
*/
|
||||
function collect_filter($items, array $filter) : array
|
||||
{
|
||||
|
Reference in New Issue
Block a user