Passed
Push — 3.0 ( dce2bb...3ad99a )
by Rubén
03:56
created
lib/SP/Bootstrap.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
     {
136 136
         $oops = "Oops, it looks like this content does not exist...";
137 137
 
138
-        $this->router->onError(function ($router, $err_msg, $type, $err) {
138
+        $this->router->onError(function($router, $err_msg, $type, $err) {
139 139
             logger('Routing error: ' . $err_msg);
140 140
 
141 141
             /** @var Exception|\Throwable $err */
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
         // Manage requests for api module
149 149
         $this->router->respond(['POST'],
150 150
             '@/api\.php',
151
-            function ($request, $response, $service) use ($oops) {
151
+            function($request, $response, $service) use ($oops) {
152 152
                 try {
153 153
                     logger('API route');
154 154
 
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
         // Manage requests for web module
192 192
         $this->router->respond(['GET', 'POST'],
193 193
             '@(?!/api\.php)',
194
-            function ($request, $response, $service) use ($oops) {
194
+            function($request, $response, $service) use ($oops) {
195 195
                 try {
196 196
                     logger('WEB route');
197 197
 
Please login to merge, or discard this patch.