summaryrefslogtreecommitdiff
path: root/app/Controller
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controller')
-rw-r--r--app/Controller/App.php4
-rw-r--r--app/Controller/Base.php10
2 files changed, 7 insertions, 7 deletions
diff --git a/app/Controller/App.php b/app/Controller/App.php
index 56124da2..9ac9d012 100644
--- a/app/Controller/App.php
+++ b/app/Controller/App.php
@@ -3,7 +3,7 @@
namespace Controller;
use Model\Project as ProjectModel;
-use Model\SubTask;
+use Model\SubTask as SubTaskModel;
use Helper;
/**
@@ -87,7 +87,7 @@ class App extends Base
*/
private function getSubtaskPagination($user_id, $paginate, $offset, $order, $direction)
{
- $status = array(SubTask::STATUS_TODO, SubTask::STATUS_INPROGRESS);
+ $status = array(SubTaskModel::STATUS_TODO, SubTaskModel::STATUS_INPROGRESS);
$limit = 10;
if (! in_array($order, array('tasks.id', 'project_name', 'status', 'title'))) {
diff --git a/app/Controller/Base.php b/app/Controller/Base.php
index 4609670f..d3d8eec8 100644
--- a/app/Controller/Base.php
+++ b/app/Controller/Base.php
@@ -55,7 +55,7 @@ abstract class Base
* Request instance
*
* @accesss protected
- * @var Core\Request
+ * @var \Core\Request
*/
protected $request;
@@ -63,7 +63,7 @@ abstract class Base
* Response instance
*
* @accesss protected
- * @var Core\Response
+ * @var \Core\Response
*/
protected $response;
@@ -71,7 +71,7 @@ abstract class Base
* Template instance
*
* @accesss protected
- * @var Core\Template
+ * @var \Core\Template
*/
protected $template;
@@ -79,7 +79,7 @@ abstract class Base
* Session instance
*
* @accesss public
- * @var Core\Session
+ * @var \Core\Session
*/
protected $session;
@@ -87,7 +87,7 @@ abstract class Base
* Container instance
*
* @access private
- * @var Pimple\Container
+ * @var \Pimple\Container
*/
private $container;