Some refactoring for PHP 5.3

This commit is contained in:
Frédéric Guillot
2014-11-22 18:49:34 -05:00
parent 77e10d2582
commit c49d46718a
9 changed files with 39 additions and 67 deletions

View File

@@ -61,7 +61,7 @@ class CommentCreation extends Base
*/
public function doAction(array $data)
{
return $this->comment->create(array(
return (bool) $this->comment->create(array(
'reference' => $data['reference'],
'comment' => $data['comment'],
'task_id' => $data['task_id'],