@@ -35,11 +35,11 @@ discard block |
||
35 | 35 | } |
36 | 36 | |
37 | 37 | return $this->getReflectionParametersFromReflectionClass()->reject( |
38 | - function (ReflectionParameter $constructorParameter) { |
|
38 | + function(ReflectionParameter $constructorParameter) { |
|
39 | 39 | return $constructorParameter->isOptional(); |
40 | 40 | } |
41 | 41 | )->map( |
42 | - function (ReflectionParameter $constructorParameter) { |
|
42 | + function(ReflectionParameter $constructorParameter) { |
|
43 | 43 | return $constructorParameter->name; |
44 | 44 | } |
45 | 45 | )->all(); |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | } |
56 | 56 | |
57 | 57 | return $this->getReflectionParametersFromReflectionClass()->map( |
58 | - function (ReflectionParameter $constructorParameter) use ($config) { |
|
58 | + function(ReflectionParameter $constructorParameter) use ($config) { |
|
59 | 59 | return $this->resolveConstructorParameterValue($constructorParameter, $config); |
60 | 60 | } |
61 | 61 | )->all(); |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | */ |
67 | 67 | public function getConfigurationCallable(array $config): callable |
68 | 68 | { |
69 | - return $config['configure'] ?? function ($instance) { |
|
69 | + return $config['configure'] ?? function($instance) { |
|
70 | 70 | return $instance; |
71 | 71 | }; |
72 | 72 | } |
@@ -38,7 +38,7 @@ |
||
38 | 38 | */ |
39 | 39 | public function getConfigurationCallable(array $config): callable |
40 | 40 | { |
41 | - return function (StreamHandler $instance) { |
|
41 | + return function(StreamHandler $instance) { |
|
42 | 42 | return $instance; |
43 | 43 | }; |
44 | 44 | } |
@@ -134,7 +134,7 @@ |
||
134 | 134 | */ |
135 | 135 | private function setMessage($message) |
136 | 136 | { |
137 | - if (! \is_string($message)) { |
|
137 | + if ( ! \is_string($message)) { |
|
138 | 138 | $message = $this->convertYiisMessageToString($message); |
139 | 139 | } |
140 | 140 | $this->message = $message; |