Completed
Push — master ( 75668b...7b9834 )
by Marcel
01:04
created
src/Middlewares/CrashFailSafe.php 1 patch
Spacing   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -35,13 +35,12 @@
 block discarded – undo
35 35
         try {
36 36
             return $handler->handle($request);
37 37
         } catch (Throwable $t) {
38
-            error_log((string)$t);
38
+            error_log((string) $t);
39 39
 
40 40
             return $this->hide ?
41
-                $this->baseResponse :
42
-                $this->baseResponse
41
+                $this->baseResponse : $this->baseResponse
43 42
                     ->withHeader('Content-Type', 'text/plain')
44
-                    ->withBody($this->streamFactory->createStream((string)$t));
43
+                    ->withBody($this->streamFactory->createStream((string) $t));
45 44
         }
46 45
     }
47 46
 }
Please login to merge, or discard this patch.