updated-packages
This commit is contained in:
@@ -68,16 +68,16 @@ class Factory
|
||||
|
||||
protected function getPathsAfterResolvingWildcards(array $paths): array
|
||||
{
|
||||
$_paths = [];
|
||||
$_paths = [[]];
|
||||
|
||||
foreach ($paths as $path) {
|
||||
if ($locals = \glob($path, GLOB_ONLYDIR)) {
|
||||
$_paths = \array_merge($_paths, \array_map('\realpath', $locals));
|
||||
$_paths[] = \array_map('\realpath', $locals);
|
||||
} else {
|
||||
$_paths[] = \realpath($path);
|
||||
$_paths[] = [\realpath($path)];
|
||||
}
|
||||
}
|
||||
|
||||
return \array_filter($_paths);
|
||||
return \array_filter(\array_merge(...$_paths));
|
||||
}
|
||||
}
|
||||
|
@@ -52,6 +52,10 @@ class Iterator extends \FilterIterator
|
||||
parent::__construct($iterator);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
#[\ReturnTypeWillChange]
|
||||
public function accept()
|
||||
{
|
||||
$current = $this->getInnerIterator()->current();
|
||||
|
Reference in New Issue
Block a user