diff --git a/Annotation/Annotation.php b/Annotation/Annotation.php index 3f9c3183..7780d5ac 100644 --- a/Annotation/Annotation.php +++ b/Annotation/Annotation.php @@ -80,9 +80,9 @@ class Annotation extends Component $this->_annotations[$alias] = []; } foreach ($paths as $path) { -// if (!str_contains('.php', $path)) { -// continue; -// } + if (!str_contains($path, '.php')) { + continue; + } $explode = explode('/', $path); $explode_pop = array_pop($explode);