summaryrefslogtreecommitdiff
path: root/app/Model
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-04-03 18:32:51 -0400
committerFrederic Guillot <fred@kanboard.net>2015-04-03 18:32:51 -0400
commit5a29cccc959dfd0be5fdc279ac1170d2db0b3040 (patch)
tree1ea6c149e9b50f95313454bfbcb4f614180d70a5 /app/Model
parent91a5ec08856f5ef6a64d181ef4de700c0436026b (diff)
Various fixes for PHPAnalyzer
Diffstat (limited to 'app/Model')
-rw-r--r--app/Model/Action.php2
-rw-r--r--app/Model/Base.php4
-rw-r--r--app/Model/Timetable.php6
3 files changed, 7 insertions, 5 deletions
diff --git a/app/Model/Action.php b/app/Model/Action.php
index 0e132d73..d5db2d76 100644
--- a/app/Model/Action.php
+++ b/app/Model/Action.php
@@ -213,7 +213,7 @@ class Action extends Base
*
* @access public
* @param array $values Required parameters to save an action
- * @return integer
+ * @return boolean|integer
*/
public function create(array $values)
{
diff --git a/app/Model/Base.php b/app/Model/Base.php
index 0217aae3..b0d82401 100644
--- a/app/Model/Base.php
+++ b/app/Model/Base.php
@@ -44,6 +44,10 @@ use Pimple\Container;
* @property \Model\TaskPosition $taskPosition
* @property \Model\TaskValidator $taskValidator
* @property \Model\Timetable $timetable
+ * @property \Model\TimetableDay $timetableDay
+ * @property \Model\TimetableExtra $timetableExtra
+ * @property \Model\TimetableOff $timetableOfff
+ * @property \Model\TimetableWeek $timetableWeek
* @property \Model\SubtaskTimeTracking $subtaskTimeTracking
* @property \Model\User $user
* @property \Model\UserSession $userSession
diff --git a/app/Model/Timetable.php b/app/Model/Timetable.php
index da2ec10c..6ddf826b 100644
--- a/app/Model/Timetable.php
+++ b/app/Model/Timetable.php
@@ -62,10 +62,8 @@ class Timetable extends Base
* Get a serie of events based on the timetable and the provided event
*
* @access public
- * @param integer $user_id
- * @param array $events Time tracking data
- * @param string $start ISO8601 date
- * @param string $end ISO8601 date
+ * @param array $event
+ * @param array $timetable
* @return array
*/
public function calculateEventIntersect(array $event, array $timetable)