This commit is contained in:
2020-12-16 15:37:23 +08:00
parent f12994dd55
commit 18743e0003
7 changed files with 23 additions and 36 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ use Snowflake\Snowflake;
$this->middleware = [$this->middleware];
}
foreach ($this->middleware as $key => $item) {
$this->middleware[$key] = Snowflake::createObject($item);
$this->middleware[$key] = [Snowflake::createObject($item), 'onHandler'];
}
}