From 82e0c709ca740fd6cba2e279ba8dd1540d16b47a Mon Sep 17 00:00:00 2001 From: JanHuang Date: Thu, 21 Feb 2019 10:52:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dstatic=20method?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/FileObject.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FileObject.php b/src/FileObject.php index 8bc2211..e9e219c 100644 --- a/src/FileObject.php +++ b/src/FileObject.php @@ -46,7 +46,7 @@ public function __construct($filename, $mode = 'r', $include = false, $context = * @param $data * @return static */ - public function make($data) + public static function make($data) { if (is_string($data)) { $filename = $data;