Completed
Push — master ( 851558...1b6b48 )
by Oscar
09:15
created
src/WhoopsHandlerContainer.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 
4 4
 namespace Middlewares;
5 5
 
@@ -79,10 +79,10 @@  discard block
 block discarded – undo
79 79
         }
80 80
 
81 81
         $formats = [
82
-            'json' => ['application/json'],
83
-            'html' => ['text/html'],
84
-            'xml' => ['text/xml'],
85
-            'plain' => ['text/plain', 'text/css', 'text/javascript'],
82
+            'json' => [ 'application/json' ],
83
+            'html' => [ 'text/html' ],
84
+            'xml' => [ 'text/xml' ],
85
+            'plain' => [ 'text/plain', 'text/css', 'text/javascript' ],
86 86
         ];
87 87
 
88 88
         foreach ($formats as $format => $mimes) {
Please login to merge, or discard this patch.
src/Whoops.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
1 1
 <?php
2
-declare(strict_types = 1);
2
+declare(strict_types=1);
3 3
 
4 4
 namespace Middlewares;
5 5
 
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
         if ($this->catchErrors) {
86 86
             $whoops->register();
87 87
 
88
-            $shutdown = function () use ($whoops) {
88
+            $shutdown = function() use ($whoops) {
89 89
                 $whoops->allowQuit(true);
90 90
                 $whoops->writeToOutput(true);
91 91
                 $whoops->sendHttpCode(true);
Please login to merge, or discard this patch.