Skip to content

Commit 74ca262

Browse files
Set strict parameter of in_array to true where possible
1 parent 5cd8af5 commit 74ca262

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Parser/Token.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function isDelimiter(array $values = []): bool
7272
return true;
7373
}
7474

75-
return \in_array($this->value, $values);
75+
return \in_array($this->value, $values, true);
7676
}
7777

7878
public function isWhitespace(): bool

0 commit comments

Comments
 (0)