diff --git a/library/think/App.php b/library/think/App.php index 4f08ee1f..92eb59fa 100644 --- a/library/think/App.php +++ b/library/think/App.php @@ -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');