Completed
Push — master ( bbd96d...b6f152 )
by claudio
06:06
created
app/Console/Commands/Optimise/Solver.php 2 patches
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -1,21 +1,21 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Created by PhpStorm.
4
- * User: Claudio Cardinale <[email protected]>
5
- * Date: 07/12/15
6
- * Time: 21.18
7
- * This program is free software; you can redistribute it and/or
8
- * modify it under the terms of the GNU General Public License
9
- * as published by the Free Software Foundation; either version 2
10
- * of the License, or (at your option) any later version.
11
- * This program is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
- * GNU General Public License for more details.
15
- * You should have received a copy of the GNU General Public License
16
- * along with this program; if not, write to the Free Software
17
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
18
- */
3
+     * Created by PhpStorm.
4
+     * User: Claudio Cardinale <[email protected]>
5
+     * Date: 07/12/15
6
+     * Time: 21.18
7
+     * This program is free software; you can redistribute it and/or
8
+     * modify it under the terms of the GNU General Public License
9
+     * as published by the Free Software Foundation; either version 2
10
+     * of the License, or (at your option) any later version.
11
+     * This program is distributed in the hope that it will be useful,
12
+     * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
+     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
+     * GNU General Public License for more details.
15
+     * You should have received a copy of the GNU General Public License
16
+     * along with this program; if not, write to the Free Software
17
+     * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
18
+     */
19 19
 
20 20
 namespace plunner\Console\Commands\Optimise;
21 21
 
@@ -69,8 +69,8 @@  discard block
 block discarded – undo
69 69
     private $usersMeetings;
70 70
 
71 71
     /**
72
-    * @var Schedule laravel schedule object needed to perform command in background
73
-    */
72
+     * @var Schedule laravel schedule object needed to perform command in background
73
+     */
74 74
     private $schedule;
75 75
 
76 76
     /**
Please login to merge, or discard this patch.
Doc Comments   +9 added lines, -7 removed lines patch added patch discarded remove patch
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
     }
144 144
 
145 145
     /**
146
-     * @return \string[]
146
+     * @return string[]
147 147
      */
148 148
     public function getUsers()
149 149
     {
@@ -389,7 +389,7 @@  discard block
 block discarded – undo
389 389
 
390 390
     /**
391 391
      * @param string $file
392
-     * @param array $data
392
+     * @param string[] $data
393 393
      * @throws OptimiseException
394 394
      */
395 395
     static private function writeCSVArrayNoKey($file, $data)
@@ -405,7 +405,7 @@  discard block
 block discarded – undo
405 405
 
406 406
     /**
407 407
      * @param string $file
408
-     * @param array $data
408
+     * @param string[] $data
409 409
      * @param string $name
410 410
      * @throws OptimiseException
411 411
      */
@@ -422,7 +422,7 @@  discard block
 block discarded – undo
422 422
 
423 423
     /**
424 424
      * @param string $file
425
-     * @param array $data
425
+     * @param string[] $data
426 426
      * @param string $name
427 427
      * @throws OptimiseException
428 428
      */
@@ -441,7 +441,7 @@  discard block
 block discarded – undo
441 441
     /**
442 442
      * @param string $file
443 443
      * @param array $data
444
-     * @param array $heading
444
+     * @param string[] $heading
445 445
      * @param \Closure $writer
446 446
      * @throws OptimiseException
447 447
      */
@@ -572,7 +572,7 @@  discard block
 block discarded – undo
572 572
     }
573 573
 
574 574
     /**
575
-     * @param $proprieties
575
+     * @param string[] $proprieties
576 576
      * @throws OptimiseException
577 577
      */
578 578
     private function checkArrayProprieties($proprieties)
@@ -583,7 +583,7 @@  discard block
 block discarded – undo
583 583
     }
584 584
 
585 585
     /**
586
-     * @param $proprieties
586
+     * @param string[] $proprieties
587 587
      * @throws OptimiseException
588 588
      */
589 589
     private function checkIntProprieties($proprieties)
@@ -597,6 +597,8 @@  discard block
 block discarded – undo
597 597
      * implementation of arraypad that doesn't change original keys<br/>
598 598
      * <strong>CAUTION: Only positive $len</strong>
599 599
      * @param array $array
600
+     * @param integer $len
601
+     * @param integer $pad
600 602
      * @return array
601 603
      */
602 604
     static private function arrayPad(array $array, $len, $pad)
Please login to merge, or discard this patch.