summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-01-18 18:21:33 -0500
committerFrederic Guillot <fred@kanboard.net>2015-01-18 18:21:33 -0500
commit4e874fad90832cf325ed8b718ae55c58dd92b1db (patch)
treea282eed4906f18933bb0202164aad523d6ca4ff1 /app
parent92d9c3695e3e1e9619f26948f08b293b794ef784 (diff)
Fix some phpdoc comments
Diffstat (limited to 'app')
-rw-r--r--app/Controller/Base.php4
-rw-r--r--app/Core/Paginator.php4
-rw-r--r--app/Model/SubtaskExport.php6
-rw-r--r--app/Subscriber/Base.php4
4 files changed, 13 insertions, 5 deletions
diff --git a/app/Controller/Base.php b/app/Controller/Base.php
index 48ce62fa..1f8b243c 100644
--- a/app/Controller/Base.php
+++ b/app/Controller/Base.php
@@ -19,6 +19,9 @@ use Symfony\Component\EventDispatcher\Event;
*
* @property \Core\Session $session
* @property \Core\Template $template
+ * @property \Core\Paginator $paginator
+ * @property \Integration\GithubWebhook $githubWebhook
+ * @property \Integration\GitlabWebhook $gitlabWebhook
* @property \Model\Acl $acl
* @property \Model\Authentication $authentication
* @property \Model\Action $action
@@ -34,6 +37,7 @@ use Symfony\Component\EventDispatcher\Event;
* @property \Model\Project $project
* @property \Model\ProjectPermission $projectPermission
* @property \Model\ProjectAnalytic $projectAnalytic
+ * @property \Model\ProjectActivity $projectActivity
* @property \Model\ProjectDailySummary $projectDailySummary
* @property \Model\SubTask $subTask
* @property \Model\Swimlane $swimlane
diff --git a/app/Core/Paginator.php b/app/Core/Paginator.php
index 7d7ce7ce..4d4364dd 100644
--- a/app/Core/Paginator.php
+++ b/app/Core/Paginator.php
@@ -57,7 +57,7 @@ class Paginator
* Sort by this column
*
* @access private
- * @var integer
+ * @var string
*/
private $order = '';
@@ -65,7 +65,7 @@ class Paginator
* Sorting direction
*
* @access private
- * @var integer
+ * @var string
*/
private $direction = 'ASC';
diff --git a/app/Model/SubtaskExport.php b/app/Model/SubtaskExport.php
index 50b028e2..672c50c6 100644
--- a/app/Model/SubtaskExport.php
+++ b/app/Model/SubtaskExport.php
@@ -86,9 +86,9 @@ class SubtaskExport extends Base
* Get all subtasks for a given project
*
* @access public
- * @param integer $task_id Task id
- * @param mixed $from Start date (timestamp or user formatted date)
- * @param mixed $to End date (timestamp or user formatted date)
+ * @param integer $project_id Project id
+ * @param mixed $from Start date (timestamp or user formatted date)
+ * @param mixed $to End date (timestamp or user formatted date)
* @return array
*/
public function getSubtasks($project_id, $from, $to)
diff --git a/app/Subscriber/Base.php b/app/Subscriber/Base.php
index abc051b3..06cb3122 100644
--- a/app/Subscriber/Base.php
+++ b/app/Subscriber/Base.php
@@ -11,15 +11,19 @@ use Pimple\Container;
* @author Frederic Guillot
*
* @property \Model\Config $config
+ * @property \Model\Comment $comment
+ * @property \Model\LastLogin $lastLogin
* @property \Model\Notification $notification
* @property \Model\Project $project
* @property \Model\ProjectPermission $projectPermission
* @property \Model\ProjectAnalytic $projectAnalytic
* @property \Model\ProjectDailySummary $projectDailySummary
+ * @property \Model\SubTask $subtask
* @property \Model\Task $task
* @property \Model\TaskExport $taskExport
* @property \Model\TaskFinder $taskFinder
* @property \Model\UserSession $userSession
+ * @property \Model\Webhook $webhook
*/
abstract class Base
{