updated-packages

This commit is contained in:
RafficMohammed
2023-01-08 00:13:22 +05:30
parent 3ff7df7487
commit da241bacb6
12659 changed files with 563377 additions and 510538 deletions

View File

@@ -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));
}
}

View File

@@ -52,6 +52,10 @@ class Iterator extends \FilterIterator
parent::__construct($iterator);
}
/**
* @return bool
*/
#[\ReturnTypeWillChange]
public function accept()
{
$current = $this->getInnerIterator()->current();