Passed
Push — master ( ddd0c7...7c58d7 )
by Caen
15:32 queued 15s
created
packages/realtime-compiler/src/Http/BaseController.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,12 +62,12 @@
 block discarded – undo
62 62
 
63 63
     protected function authorizePostRequest(): void
64 64
     {
65
-        if (! $this->isRequestMadeFromLocalhost()) {
65
+        if (!$this->isRequestMadeFromLocalhost()) {
66 66
             throw new HttpException(403, "Refusing to serve request from address {$_SERVER['REMOTE_ADDR']} (must be on localhost)");
67 67
         }
68 68
 
69 69
         if ($this->withSession) {
70
-            if (! $this->validateCSRFToken($this->request->get('_token'))) {
70
+            if (!$this->validateCSRFToken($this->request->get('_token'))) {
71 71
                 throw new HttpException(403, 'Invalid CSRF token');
72 72
             }
73 73
         }
Please login to merge, or discard this patch.