@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | * It is extracted from the request from which the file has been uploaded. |
| 37 | 37 | * Then it should not be considered as a safe value. |
| 38 | 38 | * |
| 39 | - * @return string|null The original name |
|
| 39 | + * @return string The original name |
|
| 40 | 40 | */ |
| 41 | 41 | public function nameUnsafe() |
| 42 | 42 | { |
@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | * The client mime type is extracted from the request from which the file |
| 63 | 63 | * was uploaded, so it should not be considered as a safe value. |
| 64 | 64 | * |
| 65 | - * @return string|null The mime type |
|
| 65 | + * @return string The mime type |
|
| 66 | 66 | */ |
| 67 | 67 | public function mimeTypeUnsafe() |
| 68 | 68 | { |
@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | } |
| 63 | 63 | |
| 64 | 64 | /** |
| 65 | - * @return string|null |
|
| 65 | + * @return string |
|
| 66 | 66 | */ |
| 67 | 67 | public function guessMimeType() |
| 68 | 68 | { |
@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | } |
| 71 | 71 | |
| 72 | 72 | /** |
| 73 | - * @param $directory |
|
| 73 | + * @param string $directory |
|
| 74 | 74 | * @param string|null $name |
| 75 | 75 | * |
| 76 | 76 | * @return File |