← All changes
|
vendor/psr/http-message/src/UploadedFileInterface.php
+3
-1
1.3.0
→
1.9.2
View file →
| @@ -1,6 +1,8 @@ | ||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | +declare(strict_types=1); | |
| 4 | + | |
| 3 | 5 | namespace Psr\Http\Message; |
| 4 | 6 | |
| 5 | 7 | /** |
| 6 | 8 | * Value object representing a file uploaded through an HTTP request. |
| @@ -61,9 +63,9 @@ | ||
| 61 | 63 | * @throws \InvalidArgumentException if the $targetPath specified is invalid. |
| 62 | 64 | * @throws \RuntimeException on any error during the move operation, or on |
| 63 | 65 | * the second or subsequent call to the method. |
| 64 | 66 | */ |
| 65 | - public function moveTo($targetPath); | |
| 67 | + public function moveTo(string $targetPath); | |
| 66 | 68 | |
| 67 | 69 | /** |
| 68 | 70 | * Retrieve the file size. |
| 69 | 71 | * |