From ba555eba000705e1df3a43279e7bf274a2a0d124 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Fri, 14 Oct 2016 16:28:26 +0800 Subject: [PATCH] =?UTF-8?q?Request=E7=B1=BB=E7=9A=84=E6=9E=B6=E6=9E=84?= =?UTF-8?q?=E6=96=B9=E6=B3=95=E6=94=B9=E4=B8=BAprotected?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/Request.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/think/Request.php b/library/think/Request.php index 6d49aa09..75f2b9ef 100644 --- a/library/think/Request.php +++ b/library/think/Request.php @@ -124,10 +124,10 @@ class Request /** * 架构函数 - * @access public + * @access protected * @param array $options 参数 */ - public function __construct($options = []) + protected function __construct($options = []) { foreach ($options as $name => $item) { if (property_exists($this, $name)) {