@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare (strict_types=1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Nopolabs\Test; |
| 5 | 5 | |
@@ -193,14 +193,14 @@ discard block |
||
| 193 | 193 | |
| 194 | 194 | private function getPublicMethods(ReflectionClass $reflection) : array |
| 195 | 195 | { |
| 196 | - return array_map(function (ReflectionMethod $method) { |
|
| 196 | + return array_map(function(ReflectionMethod $method) { |
|
| 197 | 197 | return $method->name; |
| 198 | 198 | }, $reflection->getMethods(ReflectionMethod::IS_PUBLIC)); |
| 199 | 199 | } |
| 200 | 200 | |
| 201 | 201 | private function getAbstractMethods(ReflectionClass $reflection) : array |
| 202 | 202 | { |
| 203 | - return array_map(function (ReflectionMethod $method) { |
|
| 203 | + return array_map(function(ReflectionMethod $method) { |
|
| 204 | 204 | return $method->name; |
| 205 | 205 | }, $reflection->getMethods(ReflectionMethod::IS_ABSTRACT)); |
| 206 | 206 | } |