diff --git a/Annotation/Annotation.php b/Annotation/Annotation.php index d5314c9a..5574a4cc 100644 --- a/Annotation/Annotation.php +++ b/Annotation/Annotation.php @@ -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; }