Completed
Pull Request — master (#904)
by Antoine
03:10
created
src/Api/ResourceClassResolver.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
      */
66 66
     public function getResourceClassFromContext($value, array $context = null, bool $strict = false): string
67 67
     {
68
-		$resourceClass = $context['resource_class'] ?? null;
68
+        $resourceClass = $context['resource_class'] ?? null;
69 69
 
70 70
         if (isset($context['subcollection_resource_class']) && null !== $context['subcollection_resource_class']) {
71 71
             $resourceClass = $context['subcollection_resource_class'];
Please login to merge, or discard this patch.
src/Util/RequestAttributesExtractor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
             }
62 62
         }
63 63
 
64
-        throw new RuntimeException('One of the following request attribute must be defined: '.implode(', ', array_map(function ($operationType) {
64
+        throw new RuntimeException('One of the following request attribute must be defined: '.implode(', ', array_map(function($operationType) {
65 65
             return "_api_{$operationType}_operation_name";
66 66
         }, OperationTypes::TYPES)));
67 67
     }
Please login to merge, or discard this patch.