Completed
Push — master ( c1b77c...4fc225 )
by Phecho
07:16 queued 02:07
created
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/Models/UserModel.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
      */
79 79
     public function isAdmin($user_id)
80 80
     {
81
-        return $this->userSession->isAdmin() ||  // Avoid SQL query if connected
81
+        return $this->userSession->isAdmin() || // Avoid SQL query if connected
82 82
                $this->db
83 83
                     ->table(self::TABLE)
84 84
                     ->eq('id', $user_id)
@@ -316,7 +316,7 @@  discard block
 block discarded – undo
316 316
     {
317 317
         $this->avatarFileModel->remove($user_id);
318 318
 
319
-        return $this->db->transaction(function (Database $db) use ($user_id) {
319
+        return $this->db->transaction(function(Database $db) use ($user_id) {
320 320
 
321 321
             // All assigned tasks are now unassigned (no foreign key)
322 322
             if (!$db->table(TaskModel::TABLE)->eq('owner_id', $user_id)->update(['owner_id' => 0])) {
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/Models/UserNotificationFilterModel.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/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/Console/WorkerCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
     /**
35 35
      * Execute the console command.
36 36
      *
37
-     * @param InputInterface  $output
37
+     * @param OutputInterface  $output
38 38
      * @param OutputInterface $output
39 39
      *
40 40
      * @return void
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
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
     /**
35 35
      * Execute the console command.
36 36
      *
37
-     * @param InputInterface  $output
37
+     * @param OutputInterface  $output
38 38
      * @param OutputInterface $output
39 39
      *
40 40
      * @return void
Please login to merge, or discard this patch.