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