From d585442edab553f38ac25851580c3237049f018f Mon Sep 17 00:00:00 2001 From: thinkphp Date: Thu, 8 Dec 2016 17:08:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E5=8D=95=E5=85=83=E6=B5=8B?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/View.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/View.php b/library/think/View.php index ede7cd44..52aa9cd7 100644 --- a/library/think/View.php +++ b/library/think/View.php @@ -33,7 +33,7 @@ class View * @param array $engine 模板引擎参数 * @param array $replace 字符串替换参数 */ - public function __construct($engine = [], array $replace = []) + public function __construct($engine = [], $replace = []) { // 初始化模板引擎 $this->engine((array) $engine);