@@ -141,7 +141,7 @@ |
||
| 141 | 141 | * the name of the field |
| 142 | 142 | * @param string $key |
| 143 | 143 | * the value of the key |
| 144 | - * @param mixed $value |
|
| 144 | + * @param string|boolean $value |
|
| 145 | 145 | * the new value |
| 146 | 146 | */ |
| 147 | 147 | protected function setFieldValue($name, $key, $value) { |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | * @param string $file |
| 23 | 23 | * the file to get the mimetype from |
| 24 | 24 | * |
| 25 | - * @return mixed|string |
|
| 25 | + * @return string |
|
| 26 | 26 | * the mimetype |
| 27 | 27 | */ |
| 28 | 28 | public function getMimeTypeByExtension($file) { |
@@ -256,7 +256,7 @@ discard block |
||
| 256 | 256 | * @param string $file |
| 257 | 257 | * the file to get the mimetype from |
| 258 | 258 | * |
| 259 | - * @return mixed|string |
|
| 259 | + * @return string |
|
| 260 | 260 | * the mimetype |
| 261 | 261 | */ |
| 262 | 262 | public function getMimeType($file) { |