Completed
Pull Request — master (#28)
by claudio
05:01
created
app/Console/Commands/Optimise/Optimise.php 1 patch
Doc Comments   +6 added lines, -5 removed lines patch added patch discarded remove patch
@@ -303,10 +303,10 @@  discard block
 block discarded – undo
303 303
     }
304 304
 
305 305
     /**
306
-     * @param array $users
307
-     * @param array $meetings
306
+     * @param string[] $users
307
+     * @param string[] $meetings
308 308
      * @param \Illuminate\Support\Collection $usersMeetings
309
-     * @return array
309
+     * @return \string[]
310 310
      */
311 311
     static private function getUsersMeetingsArray($users, $meetings, \Illuminate\Support\Collection $usersMeetings)
312 312
     {
@@ -338,8 +338,9 @@  discard block
 block discarded – undo
338 338
 
339 339
     /**
340 340
      * @param \Illuminate\Support\Collection $timeSlots
341
-     * @param bool|true $free if true the array is filled with 1 for timeslots values else with 0 for timeslots values
342
-     * @return array
341
+     * @param boolean $free if true the array is filled with 1 for timeslots values else with 0 for timeslots values
342
+     * @param integer $timeslotsN
343
+     * @return \string[]
343 344
      */
344 345
     static private function getAvailabilityArray(\Illuminate\Support\Collection $timeSlots, $timeslotsN, $free=true)
345 346
     {
Please login to merge, or discard this patch.
app/Console/Commands/Optimise/Solver.php 1 patch
Doc Comments   +15 added lines, -13 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
     {
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
     }
192 192
 
193 193
     /**
194
-     * @return \string[]
194
+     * @return string[]
195 195
      */
196 196
     public function getMeetings()
197 197
     {
@@ -253,7 +253,7 @@  discard block
 block discarded – undo
253 253
     }
254 254
 
255 255
     /**
256
-     * @return \string[]
256
+     * @return string[]
257 257
      */
258 258
     public function getMeetingsAvailability()
259 259
     {
@@ -282,7 +282,7 @@  discard block
 block discarded – undo
282 282
     }
283 283
 
284 284
     /**
285
-     * @return \string[]
285
+     * @return string[]
286 286
      */
287 287
     public function getMeetingsDuration()
288 288
     {
@@ -312,7 +312,7 @@  discard block
 block discarded – undo
312 312
     }
313 313
 
314 314
     /**
315
-     * @return \string[]
315
+     * @return string[]
316 316
      */
317 317
     public function getUsersAvailability()
318 318
     {
@@ -342,7 +342,7 @@  discard block
 block discarded – undo
342 342
     }
343 343
 
344 344
     /**
345
-     * @return \string[]
345
+     * @return string[]
346 346
      */
347 347
     public function getUsersMeetings()
348 348
     {
@@ -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.