Fix issues with PHP 5.3 and phpdocs

This commit is contained in:
Frédéric Guillot
2014-11-23 18:28:06 -05:00
parent dc0cbee391
commit 653ee986db
6 changed files with 9 additions and 9 deletions

View File

@@ -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)
{

View File

@@ -37,7 +37,7 @@ abstract class Base
* Constructor
*
* @access public
* @param Pimple\Container $container
* @param \Pimple\Container $container
*/
public function __construct(Container $container)
{

View File

@@ -95,7 +95,7 @@ abstract class Base
* Constructor
*
* @access public
* @param Pimple\Container $container
* @param \Pimple\Container $container
*/
public function __construct(Container $container)
{

View File

@@ -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)
{

View File

@@ -70,7 +70,7 @@ abstract class Base
* Constructor
*
* @access public
* @param Pimple\Container $container
* @param \Pimple\Container $container
*/
public function __construct(Container $container)
{

View File

@@ -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;
}
}