From 2219c8197539814f26d049a6699c5202b5df0be9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 13 Aug 2021 17:10:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- System/Di/Container.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/System/Di/Container.php b/System/Di/Container.php index 6db39df6..1b16327e 100644 --- a/System/Di/Container.php +++ b/System/Di/Container.php @@ -95,10 +95,10 @@ class Container extends BaseObject /** - * @param $interface - * @param $class + * @param string $interface + * @param string $class */ - public function mapping($interface, $class) + public function mapping(string $interface, string $class) { $this->_interfaces[$interface] = $class; }