Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Commit 7460df2

Browse files
committed
Fix: Remove useless condition
1 parent 314e75d commit 7460df2

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/ClassFileLocator.php

-5
Original file line numberDiff line numberDiff line change
@@ -118,11 +118,6 @@ public function accept()
118118
break;
119119
case T_TRAIT:
120120
case T_CLASS:
121-
// ignore T_CLASS after T_DOUBLE_COLON to allow PHP >=5.5 FQCN scalar resolution
122-
if ($i > 0 && is_array($tokens[$i - 1]) && $tokens[$i - 1][0] === T_DOUBLE_COLON) {
123-
break;
124-
}
125-
126121
// ignore anonymous classes on PHP 7.1 and greater
127122
if ($i >= 2
128123
&& \is_array($tokens[$i - 1])

0 commit comments

Comments
 (0)