Completed
Push — master ( e0ab77...bbd96d )
by claudio
09:00
created
app/Console/Commands/Optimise/Optimise.php 1 patch
Doc Comments   +6 added lines, -5 removed lines patch added patch discarded remove patch
@@ -311,10 +311,10 @@  discard block
 block discarded – undo
311 311
     }
312 312
 
313 313
     /**
314
-     * @param array $users
315
-     * @param array $meetings
314
+     * @param string[] $users
315
+     * @param string[] $meetings
316 316
      * @param \Illuminate\Support\Collection $usersMeetings
317
-     * @return array
317
+     * @return string[]
318 318
      */
319 319
     static private function getUsersMeetingsArray($users, $meetings, \Illuminate\Support\Collection $usersMeetings)
320 320
     {
@@ -363,8 +363,9 @@  discard block
 block discarded – undo
363 363
 
364 364
     /**
365 365
      * @param \Illuminate\Support\Collection $timeSlots
366
-     * @param bool|true $free if true the array is filled with 1 for timeslots values else with 0 for timeslots values
367
-     * @return array
366
+     * @param boolean $free if true the array is filled with 1 for timeslots values else with 0 for timeslots values
367
+     * @param integer $timeslotsN
368
+     * @return string[]
368 369
      */
369 370
     static private function getAvailabilityArray(\Illuminate\Support\Collection $timeSlots, $timeslotsN, $free=true)
370 371
     {
Please login to merge, or discard this patch.
app/Console/Commands/Optimise/Solver.php 1 patch
Doc Comments   +10 added lines, -8 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
 
120 120
     /**
121 121
      * remove a no empty dir
122
-     * @param $dir
122
+     * @param string $dir
123 123
      * @return bool
124 124
      */
125 125
     private static function delTree($dir) {
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
     }
174 174
 
175 175
     /**
176
-     * @return \string[]
176
+     * @return string[]
177 177
      */
178 178
     public function getUsers()
179 179
     {
@@ -419,7 +419,7 @@  discard block
 block discarded – undo
419 419
 
420 420
     /**
421 421
      * @param string $file
422
-     * @param array $data
422
+     * @param string[] $data
423 423
      * @throws OptimiseException
424 424
      */
425 425
     static private function writeCSVArrayNoKey($file, $data)
@@ -435,7 +435,7 @@  discard block
 block discarded – undo
435 435
 
436 436
     /**
437 437
      * @param string $file
438
-     * @param array $data
438
+     * @param string[] $data
439 439
      * @param string $name
440 440
      * @throws OptimiseException
441 441
      */
@@ -452,7 +452,7 @@  discard block
 block discarded – undo
452 452
 
453 453
     /**
454 454
      * @param string $file
455
-     * @param array $data
455
+     * @param string[] $data
456 456
      * @param string $name
457 457
      * @throws OptimiseException
458 458
      */
@@ -471,7 +471,7 @@  discard block
 block discarded – undo
471 471
     /**
472 472
      * @param string $file
473 473
      * @param array $data
474
-     * @param array $heading
474
+     * @param string[] $heading
475 475
      * @param \Closure $writer
476 476
      * @throws OptimiseException
477 477
      */
@@ -682,7 +682,7 @@  discard block
 block discarded – undo
682 682
     }
683 683
 
684 684
     /**
685
-     * @param $proprieties
685
+     * @param string[] $proprieties
686 686
      * @throws OptimiseException
687 687
      */
688 688
     private function checkArrayProprieties($proprieties)
@@ -693,7 +693,7 @@  discard block
 block discarded – undo
693 693
     }
694 694
 
695 695
     /**
696
-     * @param $proprieties
696
+     * @param string[] $proprieties
697 697
      * @throws OptimiseException
698 698
      */
699 699
     private function checkIntProprieties($proprieties)
@@ -707,6 +707,8 @@  discard block
 block discarded – undo
707 707
      * implementation of arraypad that doesn't change original keys<br/>
708 708
      * <strong>CAUTION: Only positive $len</strong>
709 709
      * @param array $array
710
+     * @param integer $len
711
+     * @param integer $pad
710 712
      * @return array
711 713
      */
712 714
     static private function arrayPad(array $array, $len, $pad)
Please login to merge, or discard this patch.