This commit is contained in:
2021-01-19 18:11:07 +08:00
parent f8dd8fdc27
commit 52aacfe432
+1 -1
View File
@@ -83,7 +83,7 @@ class Annotation extends Component
$explode = explode('/', $path);
$length = strlen($path);
if ($length - 4 != $length - strpos('.php', $path)) {
if ($length - 4 != $length - (strpos('.php', $path) != false)) {
continue;
}