Completed
Push — master ( 1332b8...512ee3 )
by Oscar
08:04 queued 03:36
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/GoogleAnalytics.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
     /**
20 20
      * Constructor.Set the site's ID.
21 21
      *
22
-     * @param string $id
23 22
      */
24 23
     public function __construct($siteId = null)
25 24
     {
Please login to merge, or discard this patch.
src/Transformers/BodyParser.php 1 patch
Doc Comments   -3 removed lines patch added patch discarded remove patch
@@ -40,7 +40,6 @@  discard block
 block discarded – undo
40 40
     /**
41 41
      * JSON parser.
42 42
      * 
43
-     * @param ServerRequestInterface $response
44 43
      * 
45 44
      * @return ServerRequestInterface
46 45
      */
@@ -54,7 +53,6 @@  discard block
 block discarded – undo
54 53
     /**
55 54
      * Parses url-encoded strings.
56 55
      * 
57
-     * @param ServerRequestInterface $response
58 56
      * 
59 57
      * @return ServerRequestInterface
60 58
      */
@@ -68,7 +66,6 @@  discard block
 block discarded – undo
68 66
     /**
69 67
      * Parses csv strings.
70 68
      * 
71
-     * @param ServerRequestInterface $response
72 69
      * 
73 70
      * @return ServerRequestInterface
74 71
      */
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.