Completed
Push — master ( 7a82a2...eef030 )
by Pavel
02:12
created
src/Doctrine/Rest/Response/FractalResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -268,7 +268,7 @@
 block discarded – undo
268 268
     {
269 269
         $class = $qb->getRootEntities()[0];
270 270
         if (isset(class_implements($class)[JsonApiResource::class])) {
271
-            return call_user_func($class . '::getResourceKey');
271
+            return call_user_func($class.'::getResourceKey');
272 272
         }
273 273
 
274 274
         return $qb->getRootAliases()[0];
Please login to merge, or discard this patch.
src/Doctrine/Rest/RestRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
         if ($this->rootAlias === null) {
30 30
             $reflectionClass = $this->getClassMetadata()->getReflectionClass();
31 31
             if ($reflectionClass->implementsInterface(JsonApiResource::class)) {
32
-                $this->rootAlias = call_user_func($reflectionClass->getName(). '::getResourceKey');
32
+                $this->rootAlias = call_user_func($reflectionClass->getName().'::getResourceKey');
33 33
             } else {
34 34
                 // Camel case to underscore-case
35 35
                 $this->rootAlias = strtolower(preg_replace('/(?<!^)[A-Z]/', '_$0', $reflectionClass->getShortName()));
Please login to merge, or discard this patch.