@@ -23,7 +23,7 @@ |
||
23 | 23 | /** |
24 | 24 | * Command line options |
25 | 25 | * @param string $actionID |
26 | - * @return array |
|
26 | + * @return string[] |
|
27 | 27 | */ |
28 | 28 | public function options($actionID) |
29 | 29 | { |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace app\commands; |
4 | 4 | |
5 | -use Exception; |
|
6 | -use yii\console\Controller; |
|
5 | +use Exception; |
|
6 | +use yii\console\Controller; |
|
7 | 7 | use Yii; |
8 | 8 | |
9 | 9 | final class WorkerController extends Controller |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace app\commands; |
4 | 4 |
@@ -8,7 +8,7 @@ |
||
8 | 8 | 'id' => $yaml['app']['id'], |
9 | 9 | 'name' => $yaml['app']['name'], |
10 | 10 | 'basePath' => dirname(__DIR__), |
11 | - 'bootstrap' => [ 'log' ], |
|
11 | + 'bootstrap' => ['log'], |
|
12 | 12 | 'language' => 'en-US', |
13 | 13 | 'sourceLanguage' => 'en-US', |
14 | 14 | 'components' => [ |