From 653ee986db284c758a45e49d196d88d76d3361c8 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sun, 23 Nov 2014 18:28:06 -0500 Subject: Fix issues with PHP 5.3 and phpdocs --- app/Action/Base.php | 6 +++--- app/Auth/Base.php | 2 +- app/Controller/Base.php | 2 +- app/Event/Base.php | 2 +- app/Model/Base.php | 2 +- app/Model/SubTask.php | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/Action/Base.php b/app/Action/Base.php index ae5c2e03..acb82fc9 100644 --- a/app/Action/Base.php +++ b/app/Action/Base.php @@ -105,9 +105,9 @@ abstract class Base implements Listener * Constructor * * @access public - * @param Pimple\Container $container Container - * @param integer $project_id Project id - * @param string $event_name Attached event name + * @param \Pimple\Container $container Container + * @param integer $project_id Project id + * @param string $event_name Attached event name */ public function __construct(Container $container, $project_id, $event_name) { diff --git a/app/Auth/Base.php b/app/Auth/Base.php index e3a1c88c..3abd47f2 100644 --- a/app/Auth/Base.php +++ b/app/Auth/Base.php @@ -37,7 +37,7 @@ abstract class Base * Constructor * * @access public - * @param Pimple\Container $container + * @param \Pimple\Container $container */ public function __construct(Container $container) { diff --git a/app/Controller/Base.php b/app/Controller/Base.php index 9b8ca0ec..4609670f 100644 --- a/app/Controller/Base.php +++ b/app/Controller/Base.php @@ -95,7 +95,7 @@ abstract class Base * Constructor * * @access public - * @param Pimple\Container $container + * @param \Pimple\Container $container */ public function __construct(Container $container) { diff --git a/app/Event/Base.php b/app/Event/Base.php index dfeeab55..2ca1ada0 100644 --- a/app/Event/Base.php +++ b/app/Event/Base.php @@ -33,7 +33,7 @@ abstract class Base implements Listener * Constructor * * @access public - * @param Pimple\Container $container + * @param \Pimple\Container $container */ public function __construct(Container $container) { diff --git a/app/Model/Base.php b/app/Model/Base.php index bdb55ad0..bd9371a7 100644 --- a/app/Model/Base.php +++ b/app/Model/Base.php @@ -70,7 +70,7 @@ abstract class Base * Constructor * * @access public - * @param Pimple\Container $container + * @param \Pimple\Container $container */ public function __construct(Container $container) { diff --git a/app/Model/SubTask.php b/app/Model/SubTask.php index 87820c69..6e61330b 100644 --- a/app/Model/SubTask.php +++ b/app/Model/SubTask.php @@ -195,7 +195,7 @@ class SubTask extends Base { return $this->db->transaction(function ($db) use ($src_task_id, $dst_task_id) { - $subtasks = $db->table(self::TABLE) + $subtasks = $db->table(SubTask::TABLE) ->columns('title', 'time_estimated') ->eq('task_id', $src_task_id) ->findAll(); @@ -204,7 +204,7 @@ class SubTask extends Base $subtask['task_id'] = $dst_task_id; - if (! $db->table(self::TABLE)->save($subtask)) { + if (! $db->table(SubTask::TABLE)->save($subtask)) { return false; } } -- cgit v1.2.3