1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-10 15:14:20 +02:00

feat(core): Flextype Solid Core - next round #458

This commit is contained in:
Awilum
2020-08-14 18:36:40 +03:00
parent d0535df152
commit 29965f17f8

View File

@@ -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()
{