eee
This commit is contained in:
@@ -28,7 +28,7 @@ class Middleware
|
||||
{
|
||||
$path = $className . '::' . $method;
|
||||
if (!isset(static::$manager[$path])) {
|
||||
static::$manager[$path] = static::$mapping[$path] = [];
|
||||
static::$mapping[$path] = [];
|
||||
}
|
||||
if (!in_array($middleware, static::$mapping[$path])) {
|
||||
static::$mapping[$path][] = $middleware;
|
||||
|
||||
Reference in New Issue
Block a user