@@ -1,21 +1,21 @@ discard block |
||
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 |
||
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 | /** |
@@ -143,7 +143,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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) |