summaryrefslogtreecommitdiff
path: root/app/Model
diff options
context:
space:
mode:
Diffstat (limited to 'app/Model')
-rw-r--r--app/Model/Base.php20
-rw-r--r--app/Model/Subtask.php2
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()
{