Skip to content

Commit 9a46e47

Browse files
committed
Fix CS
1 parent e5fe073 commit 9a46e47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Gitignore.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public static function toRegex(string $gitignoreFileContent): string
5454
}
5555

5656
$negativesAfter = array_filter(\array_slice($negatives, ++$index));
57-
if ($negativesAfter !== []) {
57+
if ([] !== $negativesAfter) {
5858
$pattern .= sprintf('(?<!%s)', implode('|', $negativesAfter));
5959
}
6060

0 commit comments

Comments
 (0)