Test Setup Failed
Pull Request — master (#232)
by
unknown
05:27
created
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.
app/Services/Identity/Avatar/LetterAvatarProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
         $q = $lightness < 0.5 ? $lightness * (1 + $saturation) : $lightness + $saturation - $lightness * $saturation;
91 91
         $p = 2 * $lightness - $q;
92 92
 
93
-        return array_map(function ($color) use ($q, $p) {
93
+        return array_map(function($color) use ($q, $p) {
94 94
             if ($color < 0) {
95 95
                 $color++;
96 96
             }
Please login to merge, or discard this patch.
app/Console/PluginUpgradeCommand.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
      * Execute the console command.
40 40
      *
41
-     * @param InputInterface  $output
41
+     * @param OutputInterface  $output
42 42
      * @param OutputInterface $output
43 43
      *
44 44
      * @return void
Please login to merge, or discard this patch.
app/Console/ResetTwoFactorCommand.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,10 +36,10 @@
 block discarded – undo
36 36
     /**
37 37
      * Execute the console command.
38 38
      *
39
-     * @param InputInterface  $output
39
+     * @param OutputInterface  $output
40 40
      * @param OutputInterface $output
41 41
      *
42
-     * @return void
42
+     * @return integer|null
43 43
      */
44 44
     protected function execute(InputInterface $input, OutputInterface $output)
45 45
     {
Please login to merge, or discard this patch.
app/Helpers/TaskHelper.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,8 +100,7 @@
 block discarded – undo
100 100
     /**
101 101
      * Display a select field of tags.
102 102
      *
103
-     * @param array $values Form values
104
-     * @param array $targs  Form tags
103
+     * @param array $tags  Form tags
105 104
      *
106 105
      * @return string
107 106
      */
Please login to merge, or discard this patch.
app/Helpers/AppHelper.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
     /**
167 167
      * Get default view of project.
168 168
      *
169
-     * @return array
169
+     * @return string[]
170 170
      */
171 171
     public function getProjectDefaultView($slug = '', $forController = false)
172 172
     {
@@ -199,7 +199,7 @@  discard block
 block discarded – undo
199 199
     /**
200 200
      * Get current dashboard.
201 201
      *
202
-     * @return array
202
+     * @return string[]
203 203
      */
204 204
     public function getDashboard($forController = false)
205 205
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,6 @@
 block discarded – undo
12 12
 namespace Jitamin\Helper;
13 13
 
14 14
 use Jitamin\Foundation\Base;
15
-use Jitamin\Foundation\Http\Router;
16 15
 
17 16
 /**
18 17
  * Application Helper.
Please login to merge, or discard this patch.