Completed
Branch master (8ed11c)
by Phecho
07:05
created
app/Http/Controllers/Projects/ProjectUserOverviewController.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -33,6 +33,11 @@  discard block
 block discarded – undo
33 33
         return [$user_id, $project_ids, $this->userModel->getActiveUsersList(true)];
34 34
     }
35 35
 
36
+    /**
37
+     * @param string $action
38
+     * @param string $title
39
+     * @param string $title_user
40
+     */
36 41
     private function role($role, $action, $title, $title_user)
37 42
     {
38 43
         list($user_id, $project_ids, $users) = $this->common();
@@ -59,6 +64,11 @@  discard block
 block discarded – undo
59 64
         ]));
60 65
     }
61 66
 
67
+    /**
68
+     * @param string $action
69
+     * @param string $title
70
+     * @param string $title_user
71
+     */
62 72
     private function tasks($is_active, $action, $title, $title_user)
63 73
     {
64 74
         list($user_id, $project_ids, $users) = $this->common();
Please login to merge, or discard this patch.
app/Models/ProjectStarModel.php 2 patches
Doc Comments   -3 removed lines patch added patch discarded remove patch
@@ -56,7 +56,6 @@  discard block
 block discarded – undo
56 56
     /**
57 57
      * Get query to fetch all project ids.
58 58
      *
59
-     * @param int $project_id
60 59
      *
61 60
      * @return \PicoDb\Table
62 61
      */
@@ -70,7 +69,6 @@  discard block
 block discarded – undo
70 69
     /**
71 70
      * Get all stargazers.
72 71
      *
73
-     * @param int $group_id
74 72
      *
75 73
      * @return array
76 74
      */
@@ -82,7 +80,6 @@  discard block
 block discarded – undo
82 80
     /**
83 81
      * Add stargazer to a project.
84 82
      *
85
-     * @param int $group_id
86 83
      * @param int $user_id
87 84
      *
88 85
      * @return bool
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
      */
63 63
     public function getProjectIds($user_id)
64 64
     {
65
-        return array_map(function ($project) {
65
+        return array_map(function($project) {
66 66
             return $project['id'];
67 67
         }, $this->getProjects($user_id));
68 68
     }
Please login to merge, or discard this patch.
app/Models/TaskLinkModel.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@
 block discarded – undo
78 78
      *
79 79
      * @param array $task_link
80 80
      *
81
-     * @return array
81
+     * @return integer
82 82
      */
83 83
     public function getOppositeTaskLink(array $task_link)
84 84
     {
Please login to merge, or discard this patch.
app/Models/UserNotificationFilterModel.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
     /**
39 39
      * Get the list of filters.
40 40
      *
41
-     * @return array
41
+     * @return string[]
42 42
      */
43 43
     public function getFilters()
44 44
     {
Please login to merge, or discard this patch.
app/Services/Action/Base.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -248,7 +248,7 @@
 block discarded – undo
248 248
     /**
249 249
      * Execute the action.
250 250
      *
251
-     * @param \Jitamin\Event\GenericEvent $event
251
+     * @param GenericEvent $event
252 252
      * @param string                      $eventName
253 253
      *
254 254
      * @return bool
Please login to merge, or discard this patch.
app/Services/Action/CommentCreation.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
     /**
50 50
      * Get the required parameter for the event.
51 51
      *
52
-     * @return array
52
+     * @return string[]
53 53
      */
54 54
     public function getEventRequiredParameters()
55 55
     {
Please login to merge, or discard this patch.
app/Services/Analytic/AverageLeadCycleTimeAnalytic.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
      * @param array  &$stats
57 57
      * @param string $field
58 58
      *
59
-     * @return float
59
+     * @return integer
60 60
      */
61 61
     private function calculateAverage(array &$stats, $field)
62 62
     {
Please login to merge, or discard this patch.
app/Models/SubtaskModel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -233,7 +233,7 @@
 block discarded – undo
233 233
      */
234 234
     public function duplicate($src_task_id, $dst_task_id)
235 235
     {
236
-        return $this->db->transaction(function (Database $db) use ($src_task_id, $dst_task_id) {
236
+        return $this->db->transaction(function(Database $db) use ($src_task_id, $dst_task_id) {
237 237
             $subtasks = $db->table(SubtaskModel::TABLE)
238 238
                 ->columns('title', 'time_estimated', 'position')
239 239
                 ->eq('task_id', $src_task_id)
Please login to merge, or discard this patch.
app/Models/NotificationTypeModel.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
             $this->labels[$type] = $label;
72 72
         }
73 73
 
74
-        $this->classes[$type] = function () use ($class, $container) {
74
+        $this->classes[$type] = function() use ($class, $container) {
75 75
             return new $class($container);
76 76
         };
77 77
 
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
     {
122 122
         $classes = $this->classes;
123 123
 
124
-        return array_filter($types, function ($type) use ($classes) {
124
+        return array_filter($types, function($type) use ($classes) {
125 125
             return isset($classes[$type]);
126 126
         });
127 127
     }
Please login to merge, or discard this patch.