diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-07-23 15:15:11 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-07-23 15:15:11 -0400 |
commit | d4606f69f6b0517f45f19d511a46004ae5dc7a5b (patch) | |
tree | 160a08e95ef994998ea733ebe6bb32cf41552cc1 /app/Core/Base.php | |
parent | b179802a85b262529aaa46ed9cf072a570be25ce (diff) |
Minor cleanup
Diffstat (limited to 'app/Core/Base.php')
-rw-r--r-- | app/Core/Base.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/app/Core/Base.php b/app/Core/Base.php index 20a2d391..6931d93a 100644 --- a/app/Core/Base.php +++ b/app/Core/Base.php @@ -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); } } |