Skip to content

Commit 39704ce

Browse files
committed
PATCH: Adjust return type and argument that conflict with UploadedFileInterface
1 parent 6ea0ae8 commit 39704ce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Neos.Flow/Classes/Http/UploadedFile.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,13 +173,14 @@ public function getStream()
173173
* @see http://php.net/is_uploaded_file
174174
* @see http://php.net/move_uploaded_file
175175
* @param string $targetPath Path to which to move the uploaded file.
176+
* @return void
176177
* @throws RuntimeException if the upload was not successful.
177178
* @throws InvalidArgumentException if the $path specified is invalid.
178179
* @throws RuntimeException on any error during the move operation, or on
179180
* the second or subsequent call to the method.
180181
* @api PSR-7
181182
*/
182-
public function moveTo(string $targetPath): void
183+
public function moveTo($targetPath)
183184
{
184185
$this->throwExceptionIfNotAccessible();
185186

0 commit comments

Comments
 (0)