diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-09-20 18:44:51 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-09-20 18:44:51 -0400 |
commit | f579663adcbc0b202d9a068d734e8f9284dc3a37 (patch) | |
tree | 150f71842dee501d369c342c4d9a8c1e93efed91 /app/Model | |
parent | e6f547abcfe684658a7498391db72d13b6aa7d9a (diff) |
Fix some phpdoc and remove useless code
Diffstat (limited to 'app/Model')
-rw-r--r-- | app/Model/Base.php | 20 | ||||
-rw-r--r-- | app/Model/Subtask.php | 2 |
2 files changed, 1 insertions, 21 deletions
diff --git a/app/Model/Base.php b/app/Model/Base.php index e700f326..3ee60844 100644 --- a/app/Model/Base.php +++ b/app/Model/Base.php @@ -13,26 +13,6 @@ use Pimple\Container; abstract class Base extends \Core\Base { /** - * Database instance - * - * @access protected - * @var \PicoDb\Database - */ - protected $db; - - /** - * Constructor - * - * @access public - * @param \Pimple\Container $container - */ - public function __construct(Container $container) - { - $this->container = $container; - $this->db = $this->container['db']; - } - - /** * Save a record in the database * * @access public diff --git a/app/Model/Subtask.php b/app/Model/Subtask.php index 24508c91..95e60bce 100644 --- a/app/Model/Subtask.php +++ b/app/Model/Subtask.php @@ -55,7 +55,7 @@ class Subtask extends Base * Get available status * * @access public - * @return array + * @return string[] */ public function getStatusList() { |