Update src/PendingCalls/UsesCall.php

Co-authored-by: Owen Voke <development@voke.dev>
This commit is contained in:
Mohammad Zahed
2023-06-12 12:38:51 +03:00
committed by GitHub
parent aa9fe351a6
commit 40fd06c0d0

View File

@ -84,7 +84,7 @@ final class UsesCall
}, $targets);
$this->targets = array_reduce($targets, function (array $accumulator, string $target): array {
if (($matches = glob($target)) != false) {
if (($matches = glob($target)) !== false) {
foreach ($matches as $file) {
$accumulator[] = (string) realpath($file);
}