From 52aacfe4328b7917574faa057f67fee6fad8bc39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 19 Jan 2021 18:11:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Annotation/Annotation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }