Skip to content

Commit 385bd32

Browse files
Do not use empty()
1 parent b8e9cae commit 385bd32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Iterator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ private function acceptSuffix(string $filename): bool
9494
*/
9595
private function acceptSubString(string $filename, array $subStrings, int $type): bool
9696
{
97-
if (empty($subStrings)) {
97+
if ($subStrings === []) {
9898
return true;
9999
}
100100

0 commit comments

Comments
 (0)