src/Assets/AssetResolver.php
/**
     * An override for in_array, fixing a nesting level with some php internal
     * functions
     *
     * @param  mixed  $needle
     * @param  array  $haystack
     * @return bool
     */
An override for in_array, fixing a nesting level with some php internal
functions

@param  mixed  $needle
@param  array  $haystack
@return bool
An override for in_array fixing a nesting level with some php internal functions @param mixed $needle @param array $haystack @return bool
protected function inArray($needle, array $haystack)
    {
        foreach ($haystack as $item) {
            if ($item === $needle) {
                return true;
            }
        }
        return false;
    }
protected function inArray ( $ needle , array $ haystack ) { foreach ( $ haystack as $ item ) { if ( $ item === $ needle ) { return true ; } } return false ; }
An override for in_array, fixing a nesting level with some php internal
 functions
An override for in_array fixing a nesting level with some php internal functions