This commit is contained in:
2021-01-19 18:15:58 +08:00
parent 3430887035
commit d47eca1916
+3 -3
View File
@@ -80,9 +80,9 @@ class Annotation extends Component
$this->_annotations[$alias] = []; $this->_annotations[$alias] = [];
} }
foreach ($paths as $path) { foreach ($paths as $path) {
if (!str_contains('.php', $path)) { // if (!str_contains('.php', $path)) {
continue; // continue;
} // }
$explode = explode('/', $path); $explode = explode('/', $path);
$explode_pop = array_pop($explode); $explode_pop = array_pop($explode);