修正App类invokeClass方法

This commit is contained in:
thinkphp
2016-09-25 17:45:32 +08:00
parent 0b7f0b0534
commit 09483e88b2

View File

@@ -240,7 +240,7 @@ class App
if ($constructor) {
$args = self::bindParams($constructor, $vars);
} else {
$args[] = Request::instance();
$args = [];
}
self::$debug && Log::record('[ RUN ] ' . $reflect->__toString(), 'info');