@@ -16,7 +16,7 @@ |
||
| 16 | 16 | { |
| 17 | 17 | const MAPPER_TAG = 'request_mapper'; |
| 18 | 18 | |
| 19 | - const REQUEST_MAPPER_ID='fesor.request_object.mapper'; |
|
| 19 | + const REQUEST_MAPPER_ID = 'fesor.request_object.mapper'; |
|
| 20 | 20 | |
| 21 | 21 | public function load(array $configs, ContainerBuilder $container) |
| 22 | 22 | { |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | $classReflection = new \ReflectionClass($mapper->getClass()); |
| 27 | 27 | $publicMethods = $classReflection->getMethods(\ReflectionMethod::IS_PUBLIC); |
| 28 | 28 | |
| 29 | - $mapperMethods = array_filter($publicMethods, function (\ReflectionMethod $method) { |
|
| 29 | + $mapperMethods = array_filter($publicMethods, function(\ReflectionMethod $method) { |
|
| 30 | 30 | return $method->hasReturnType(); |
| 31 | 31 | }); |
| 32 | 32 | |