Completed
Pull Request — master (#904)
by Antoine
25:01 queued 14:29
created
src/Util/RequestAttributesExtractor.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,8 @@
 block discarded – undo
41 41
     {
42 42
         $result = [
43 43
             'resource_class' => $request->attributes->get('_api_resource_class'),
44
-             'subcollection_property' => $request->attributes->get('_api_subcollection_property_name'),
45
-             'subcollection_resource_class' => $request->attributes->get('_api_subcollection_resource_class'),
44
+                'subcollection_property' => $request->attributes->get('_api_subcollection_property_name'),
45
+                'subcollection_resource_class' => $request->attributes->get('_api_subcollection_resource_class'),
46 46
         ];
47 47
 
48 48
         if (null === $result['resource_class']) {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
             }
59 59
         }
60 60
 
61
-        throw new RuntimeException('One of the following request attribute must be defined: %s', implode(', ', array_map(function ($operationType) {
61
+        throw new RuntimeException('One of the following request attribute must be defined: %s', implode(', ', array_map(function($operationType) {
62 62
             return "_api_{$operationType}_operation_name";
63 63
         }, OperationTypes::TYPES)));
64 64
     }
Please login to merge, or discard this patch.