From c75ac94d68c41714b2add3320f0a9fde92a8cb85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 5 Aug 2021 16:39:50 +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/Loader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Annotation/Loader.php b/Annotation/Loader.php index 12446c14..b87a0bf3 100644 --- a/Annotation/Loader.php +++ b/Annotation/Loader.php @@ -195,7 +195,7 @@ class Loader extends BaseObject return false; } foreach ($exclude as $value) { - if (str_starts_with($value, $path)) { + if (str_starts_with($path, $value)) { return true; } }