From f579663adcbc0b202d9a068d734e8f9284dc3a37 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 20 Sep 2015 18:44:51 -0400 Subject: Fix some phpdoc and remove useless code --- app/Model/Base.php | 20 -------------------- app/Model/Subtask.php | 2 +- 2 files changed, 1 insertion(+), 21 deletions(-) (limited to 'app/Model') 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 @@ -12,26 +12,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 * 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() { -- cgit v1.2.3