Completed
Push — master ( 4e0e11...6a8fc7 )
by Asmir
02:51
created
src/EventListener/MultipartRequestListener.php 1 patch
Doc Comments   +8 added lines, -2 removed lines patch added patch discarded remove patch
@@ -105,6 +105,9 @@  discard block
 block discarded – undo
105 105
         }
106 106
     }
107 107
 
108
+    /**
109
+     * @param UploadedFile $file
110
+     */
108 111
     protected function mergeFilesArray($array, $path, $file)
109 112
     {
110 113
         if (count($path) > 0) {
@@ -230,7 +233,7 @@  discard block
 block discarded – undo
230 233
      * Get part of a resource.
231 234
      *
232 235
      * @param Request $request
233
-     * @param $boundary
236
+     * @param string $boundary
234 237
      *
235 238
      * @throws MultipartProcessorException
236 239
      *
@@ -288,7 +291,7 @@  discard block
 block discarded – undo
288 291
      *
289 292
      * @throws MultipartProcessorException
290 293
      *
291
-     * @return array
294
+     * @return string[]
292 295
      */
293 296
     protected function getContentTypeAndBoundary($contentType)
294 297
     {
@@ -313,6 +316,9 @@  discard block
 block discarded – undo
313 316
         return [$contentType, $boundary];
314 317
     }
315 318
 
319
+    /**
320
+     * @param string $content
321
+     */
316 322
     private function setRequestContent(Request $request, $content)
317 323
     {
318 324
         $p = new \ReflectionProperty(Request::class, 'content');
Please login to merge, or discard this patch.
src/RelatedPart.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 
19 19
     /**
20 20
      * @param array|string[] $headers
21
-     * @param string|resource $content
21
+     * @param resource $content
22 22
      */
23 23
     public function __construct($content, array $headers = [])
24 24
     {
Please login to merge, or discard this patch.