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; } }