@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | |
| 36 | 36 | public function options($actionID) |
| 37 | 37 | { |
| 38 | - return array_merge(parent::options($actionID) , ['showErrors']); |
|
| 38 | + return array_merge(parent::options($actionID), ['showErrors']); |
|
| 39 | 39 | } |
| 40 | 40 | |
| 41 | 41 | public function actionIndex() |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | $this->headline('YII-2 Code Statistic', 'lightYellow'); |
| 55 | 55 | $this->climate->table($summary); |
| 56 | 56 | |
| 57 | - if($this->showErrors === true){ |
|
| 57 | + if ($this->showErrors === true) { |
|
| 58 | 58 | $this->headline('Failed for resolve', 'lightYellow'); |
| 59 | 59 | $this->climate->table($service->errorList()); |
| 60 | 60 | } |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | $value = $this->wrap($value, 'light_cyan'); |
| 82 | 82 | } |
| 83 | 83 | $key = $this->wrap($key, 'green'); |
| 84 | - $colorized[$i][$key] = (string)$value; |
|
| 84 | + $colorized[$i][$key] = (string) $value; |
|
| 85 | 85 | } |
| 86 | 86 | } |
| 87 | 87 | return $colorized; |