src/Tools.php
public static function resolvePath(array &$files, $path)
    {
        if (is_array($path)) {
            $files = \array_merge($files, $path);
        } else {
            $files[] = $path;
        }
        return \array_unique($files);
    }
public static function resolvePath(array &$files, $path)
    {
        if (is_array($path)) {
            $files = \array_merge($files, $path);
        } else {
            $files[] = $path;
        }
        return \array_unique($files);
    }
public static function resolvePath ( array & $ files , $ path ) { if ( is_array ( $ path ) ) { $ files = \ array_merge ( $ files , $ path ) ; } else { $ files [ ] = $ path ; } return \ array_unique ( $ files ) ; }
Add path to list
@param array $files
@param $path
@return array
Add path to list