Completed
Branch master (506b1e)
by Sergey
04:31
created
src/HttpPayloadResolver.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -21,6 +21,9 @@
 block discarded – undo
21 21
         );
22 22
     }
23 23
 
24
+    /**
25
+     * @param string $methodName
26
+     */
24 27
     private function shouldNotHasRequestBody($methodName)
25 28
     {
26 29
         return in_array($methodName, ['GET', 'HEAD', 'DELETE']);
Please login to merge, or discard this patch.
src/Bundle/RequestObjectEventListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
             return;
32 32
         }
33 33
 
34
-        $event->setController(function () use ($errorResponse) {
34
+        $event->setController(function() use ($errorResponse) {
35 35
             return $errorResponse;
36 36
         });
37 37
     }
Please login to merge, or discard this patch.
examples/Request/ExtendedRegisterUserRequest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
     {
14 14
         return new JsonResponse([
15 15
             'message' => 'Please check your data',
16
-            'errors' => array_map(function (ConstraintViolation $violation) {
16
+            'errors' => array_map(function(ConstraintViolation $violation) {
17 17
 
18 18
                 return [
19 19
                     'path' => $violation->getPropertyPath(),
Please login to merge, or discard this patch.