From 40fd06c0d0e54c124f42dbcf94025f91f27317dd Mon Sep 17 00:00:00 2001 From: Mohammad Zahed Date: Mon, 12 Jun 2023 12:38:51 +0300 Subject: [PATCH] Update src/PendingCalls/UsesCall.php Co-authored-by: Owen Voke --- src/PendingCalls/UsesCall.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PendingCalls/UsesCall.php b/src/PendingCalls/UsesCall.php index 00267afb..eabd5de9 100644 --- a/src/PendingCalls/UsesCall.php +++ b/src/PendingCalls/UsesCall.php @@ -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); }