From 0a14c8d5e5538e487dd6b012771f72aea6f4d5a6 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sat, 27 Dec 2014 19:43:59 -0500 Subject: Fix some PHPAnalyzer issues --- app/Controller/App.php | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'app/Controller/App.php') diff --git a/app/Controller/App.php b/app/Controller/App.php index c88fd928..eb1d83af 100644 --- a/app/Controller/App.php +++ b/app/Controller/App.php @@ -2,7 +2,6 @@ namespace Controller; -use Model\Project as ProjectModel; use Model\SubTask as SubTaskModel; use Helper; @@ -57,6 +56,11 @@ class App extends Base * Get tasks pagination * * @access public + * @param integer $user_id + * @param string $paginate + * @param integer $offset + * @param string $order + * @param string $direction */ private function getTaskPagination($user_id, $paginate, $offset, $order, $direction) { @@ -94,6 +98,11 @@ class App extends Base * Get subtasks pagination * * @access public + * @param integer $user_id + * @param string $paginate + * @param integer $offset + * @param string $order + * @param string $direction */ private function getSubtaskPagination($user_id, $paginate, $offset, $order, $direction) { @@ -132,8 +141,13 @@ class App extends Base * Get projects pagination * * @access public + * @param array $project_ids + * @param string $paginate + * @param integer $offset + * @param string $order + * @param string $direction */ - private function getProjectPagination($project_ids, $paginate, $offset, $order, $direction) + private function getProjectPagination(array $project_ids, $paginate, $offset, $order, $direction) { $limit = 5; -- cgit v1.2.3