Minor cleanup

This commit is contained in:
Frederic Guillot
2016-07-23 15:15:11 -04:00
parent b179802a85
commit d4606f69f6
4 changed files with 11 additions and 19 deletions

View File

@@ -185,10 +185,10 @@ abstract class Base
}
/**
* Load automatically models
* Load automatically dependencies
*
* @access public
* @param string $name Model name
* @param string $name Class name
* @return mixed
*/
public function __get($name)
@@ -206,7 +206,6 @@ abstract class Base
*/
public static function getInstance(Container $container)
{
$self = new static($container);
return $self;
return new static($container);
}
}