Completed
Push — master ( 1ba870...467bab )
by Oscar
03:39
created
src/Utils/FormTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
 
26 26
         $html = preg_replace_callback(
27 27
             '/(<form\s[^>]*method="?POST"?[^>]*>)/i',
28
-            function ($match) use ($input) {
28
+            function($match) use ($input) {
29 29
                 return $match[0].$input;
30 30
             },
31 31
             $html,
Please login to merge, or discard this patch.
src/Middleware.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
      */
78 78
     public static function create(callable $factory)
79 79
     {
80
-        return function (RequestInterface $request, ResponseInterface $response, callable $next) use ($factory) {
80
+        return function(RequestInterface $request, ResponseInterface $response, callable $next) use ($factory) {
81 81
             $middleware = $factory();
82 82
 
83 83
             if ($middleware === false) {
Please login to merge, or discard this patch.
src/Middleware/ReadResponse.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -69,14 +69,14 @@
 block discarded – undo
69 69
         list($first, $last) = $range;
70 70
         $size = $response->getBody()->getSize();
71 71
 
72
-        if ($last ===  null) {
72
+        if ($last === null) {
73 73
             $last = $size - 1;
74 74
         }
75 75
 
76 76
         return $response
77 77
             ->withStatus(206)
78 78
             ->withHeader('Content-Length', (string) ($last - $first + 1))
79
-            ->withHeader('Content-Range', sprintf('bytes %d-%d/%d', $first, $last,  $size));
79
+            ->withHeader('Content-Range', sprintf('bytes %d-%d/%d', $first, $last, $size));
80 80
     }
81 81
 
82 82
     /**
Please login to merge, or discard this patch.