Skip to content

Commit 9f1fdc6

Browse files
committed
docs: fix @return in FileCollection
1 parent 96d92dd commit 9f1fdc6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

system/HTTP/Files/FileCollection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ protected function populateFiles()
159159
* Given a file array, will create UploadedFile instances. Will
160160
* loop over an array and create objects for each.
161161
*
162-
* @return array|UploadedFile
162+
* @return UploadedFile|UploadedFile[]
163163
*/
164164
protected function createFileObject(array $array)
165165
{
@@ -240,7 +240,7 @@ protected function fixFilesArray(array $data): array
240240
* @param array $index The index sequence we are navigating down
241241
* @param array $value The portion of the array to process
242242
*
243-
* @return mixed
243+
* @return UploadedFile|null
244244
*/
245245
protected function getValueDotNotationSyntax(array $index, array $value)
246246
{

0 commit comments

Comments
 (0)