From 09483e88b2a23f9bb504843a283e7dbd516ebf61 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Sun, 25 Sep 2016 17:45:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3App=E7=B1=BBinvokeClass?= =?UTF-8?q?=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/App.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');