@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | * @param array $args |
43 | 43 | * @return mixed |
44 | 44 | */ |
45 | - function (string $methodName, ...$args) { |
|
45 | + function(string $methodName, ...$args) { |
|
46 | 46 | if (\method_exists($this, $methodName)) { |
47 | 47 | return $this->$methodName(...$args); |
48 | 48 | } |
@@ -136,7 +136,7 @@ discard block |
||
136 | 136 | /** |
137 | 137 | * @return mixed |
138 | 138 | */ |
139 | - function () use ($propertyName) { |
|
139 | + function() use ($propertyName) { |
|
140 | 140 | if (\property_exists($this, $propertyName)) { |
141 | 141 | $class = new \ReflectionClass(typeOf($this)); |
142 | 142 | $property = $class->getProperty($propertyName); |