@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | */ |
| 37 | 37 | protected function isParentMethod($name) |
| 38 | 38 | { |
| 39 | - return is_callable('parent::' . $name); |
|
| 39 | + return is_callable('parent::'.$name); |
|
| 40 | 40 | } |
| 41 | 41 | |
| 42 | 42 | /** |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | * @param array $config |
| 106 | 106 | * @param string $class |
| 107 | 107 | */ |
| 108 | - protected function createConsoleApplication(array $config = [], $class = 'yii\console\Application') |
|
| 108 | + protected function createConsoleApplication(array $config = [ ], $class = 'yii\console\Application') |
|
| 109 | 109 | { |
| 110 | 110 | new $class(ArrayHelper::merge([ |
| 111 | 111 | 'id' => 'console-test', |
@@ -119,7 +119,7 @@ discard block |
||
| 119 | 119 | * @param array $config |
| 120 | 120 | * @param string $class |
| 121 | 121 | */ |
| 122 | - protected function createWebApplication(array $config = [], $class = 'yii\web\Application') |
|
| 122 | + protected function createWebApplication(array $config = [ ], $class = 'yii\web\Application') |
|
| 123 | 123 | { |
| 124 | 124 | new $class(ArrayHelper::merge([ |
| 125 | 125 | 'id' => 'web-test', |
@@ -198,7 +198,7 @@ discard block |
||
| 198 | 198 | * @param array $args |
| 199 | 199 | * @return mixed |
| 200 | 200 | */ |
| 201 | - protected function invokeInaccessibleMethod($object, $name, array $args = []) |
|
| 201 | + protected function invokeInaccessibleMethod($object, $name, array $args = [ ]) |
|
| 202 | 202 | { |
| 203 | 203 | $method = new \ReflectionMethod($object, $name); |
| 204 | 204 | $method->setAccessible(true); |