mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 23:22:48 +08:00
修正App类invokeClass方法
This commit is contained in:
@@ -240,7 +240,7 @@ class App
|
|||||||
if ($constructor) {
|
if ($constructor) {
|
||||||
$args = self::bindParams($constructor, $vars);
|
$args = self::bindParams($constructor, $vars);
|
||||||
} else {
|
} else {
|
||||||
$args[] = Request::instance();
|
$args = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
self::$debug && Log::record('[ RUN ] ' . $reflect->__toString(), 'info');
|
self::$debug && Log::record('[ RUN ] ' . $reflect->__toString(), 'info');
|
||||||
|
|||||||
Reference in New Issue
Block a user