@@ -67,6 +67,10 @@ discard block |
||
67 | 67 | ->withUploadedFiles($files); |
68 | 68 | } |
69 | 69 | |
70 | + /** |
|
71 | + * @param resource|null $body |
|
72 | + * @param string|null $boundary |
|
73 | + */ |
|
70 | 74 | private function parseFile($body, $boundary, $partInfo, &$files) |
71 | 75 | { |
72 | 76 | $tempDir = sys_get_temp_dir(); |
@@ -139,6 +143,10 @@ discard block |
||
139 | 143 | ); |
140 | 144 | } |
141 | 145 | |
146 | + /** |
|
147 | + * @param resource|null $body |
|
148 | + * @param string|null $boundary |
|
149 | + */ |
|
142 | 150 | private function parseVariable($body, $boundary, $name, &$variables) |
143 | 151 | { |
144 | 152 | $fullValue = ''; |