mirror of
https://github.com/pestphp/pest.git
synced 2026-03-07 00:07:22 +01:00
fix tests and static type check error
This commit is contained in:
@ -84,7 +84,7 @@ final class UsesCall
|
||||
}, $targets);
|
||||
|
||||
$this->targets = array_reduce($targets, function (array $accumulator, string $target): array {
|
||||
if ($matches = glob($target)) {
|
||||
if (($matches = glob($target)) != false) {
|
||||
foreach ($matches as $file) {
|
||||
$accumulator[] = (string) realpath($file);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user