@@ -44,13 +44,13 @@ discard block |
||
44 | 44 | |
45 | 45 | foreach ($interfaces as &$interface) { |
46 | 46 | if (strpos($interface, '\\') !== 0) { |
47 | - $interface = '\\'.$interface; |
|
47 | + $interface = '\\' . $interface; |
|
48 | 48 | } |
49 | 49 | } |
50 | 50 | |
51 | 51 | $generator = new ClassGenerator($blind_name, 'Scientist\Blind'); |
52 | 52 | $generator->setImplementedInterfaces($interfaces); |
53 | - $generator->addTrait('\\'.DecoratorTrait::class); |
|
53 | + $generator->addTrait('\\' . DecoratorTrait::class); |
|
54 | 54 | |
55 | 55 | $this->addInterfaceMethods($generator, $interfaces); |
56 | 56 | |
@@ -140,7 +140,7 @@ discard block |
||
140 | 140 | */ |
141 | 141 | private function createPropertyCallable($instance, $name) |
142 | 142 | { |
143 | - return function () use ($instance, $name) { |
|
143 | + return function() use ($instance, $name) { |
|
144 | 144 | $args = func_get_args(); |
145 | 145 | // __set |
146 | 146 | if (count($args) > 1) { |
@@ -155,14 +155,14 @@ discard block |
||
155 | 155 | |
156 | 156 | private function createMissingPropertyCallable($instance, $name) |
157 | 157 | { |
158 | - return function () use ($instance, $name) { |
|
158 | + return function() use ($instance, $name) { |
|
159 | 159 | throw new MissingProperty($instance, $name); |
160 | 160 | }; |
161 | 161 | } |
162 | 162 | |
163 | 163 | private function createMissingMethodCallable($instance, $name) |
164 | 164 | { |
165 | - return function () use ($instance, $name) { |
|
165 | + return function() use ($instance, $name) { |
|
166 | 166 | throw new MissingMethod($instance, $name); |
167 | 167 | }; |
168 | 168 | } |