From 29965f17f887eafe90b30f34939e5c521750f458 Mon Sep 17 00:00:00 2001 From: Awilum Date: Fri, 14 Aug 2020 18:36:40 +0300 Subject: [PATCH] feat(core): Flextype Solid Core - next round #458 --- src/flextype/app/Foundation/Flextype.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/flextype/app/Foundation/Flextype.php b/src/flextype/app/Foundation/Flextype.php index 92371f0e..3657d004 100644 --- a/src/flextype/app/Foundation/Flextype.php +++ b/src/flextype/app/Foundation/Flextype.php @@ -36,14 +36,14 @@ class Flextype extends App // Store instance container self::$container = self::$instance->getContainer(); - } /** - * Container + * Get Dependency Injection Container. * + * @param string $key DI Container key. */ - public function container($key = null) + public function container(string $key = null) { if ($key != null) { return self::$container[$key]; @@ -54,7 +54,6 @@ class Flextype extends App /** * Returns Flextype Instance - * */ public static function getInstance() {