Completed
Pull Request — master (#7)
by Sergey
05:28 queued 03:19
created
DependeyInjection/RequestObjectExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
DependeyInjection/CollectMappersCompilePass.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.