This commit is contained in:
2021-09-18 11:19:14 +08:00
parent 2f465109fb
commit 3389d234d5
+1 -1
View File
@@ -55,7 +55,7 @@ class MiddlewareManager extends BaseObject
if ($handler instanceof Closure) {
return null;
}
[$class, $method] = [$handler[0]::class, $handler[1]];
[$class, $method] = [$handler[0], $handler[1]];
if (!static::hasMiddleware($class, $method)) {
return null;
}