Completed
Push — master ( 7331b7...bc5bb1 )
by Aurimas
16:50 queued 07:04
created
src/Parser/MultiPartBodyParser.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -67,6 +67,10 @@  discard block
 block discarded – undo
67 67
             ->withUploadedFiles($files);
68 68
     }
69 69
 
70
+    /**
71
+     * @param resource|null $body
72
+     * @param string|null $boundary
73
+     */
70 74
     protected function parseFile($body, $boundary, $partInfo, &$files)
71 75
     {
72 76
         $tempDir = sys_get_temp_dir();
@@ -139,6 +143,10 @@  discard block
 block discarded – undo
139 143
         );
140 144
     }
141 145
 
146
+    /**
147
+     * @param resource|null $body
148
+     * @param string|null $boundary
149
+     */
142 150
     protected function parseVariable($body, $boundary, $name, &$variables)
143 151
     {
144 152
         $fullValue = '';
Please login to merge, or discard this patch.
src/RequestParser.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use Thruster\Component\Http\Parser\ParserInterface;
15 15
 use Thruster\Component\Http\Parser\QueryParamParser;
16 16
 use Thruster\Component\Http\Parser\URLEncodedBodyParser;
17
-use Thruster\Component\Stream\StreamInterface;
18 17
 
19 18
 /**
20 19
  * Class RequestParser
Please login to merge, or discard this patch.
src/ServerRequest.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,6 @@
 block discarded – undo
56 56
      * @param array                           $cookies       Cookies for the message, if any.
57 57
      * @param array                           $queryParams   Query params for the message, if any.
58 58
      * @param array|object                    $parsedBody    The deserialized body parameters, if any.
59
-     * @param string                          $protocol      HTTP protocol version.
60 59
      *
61 60
      * @throws InvalidArgumentException for any invalid value.
62 61
      */
Please login to merge, or discard this patch.