Skip to content

Commit 8ea9281

Browse files
yyinsomnianikic
authored andcommitted
Use type-strict comparison
1 parent 30470b6 commit 8ea9281

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DataGenerator/RegexBasedAbstract.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ private function computeChunkSize($count) {
4545
}
4646

4747
private function isStaticRoute($routeData) {
48-
return count($routeData) == 1 && is_string($routeData[0]);
48+
return count($routeData) === 1 && is_string($routeData[0]);
4949
}
5050

5151
private function addStaticRoute($httpMethod, $routeData, $handler) {

0 commit comments

Comments
 (0)