@@ -152,7 +152,7 @@ discard block |
||
152 | 152 | * |
153 | 153 | * @param mixed $offset |
154 | 154 | * |
155 | - * @return bool|mixed |
|
155 | + * @return string|boolean |
|
156 | 156 | */ |
157 | 157 | public function offsetGet($offset) |
158 | 158 | { |
@@ -364,7 +364,7 @@ discard block |
||
364 | 364 | /** |
365 | 365 | * Returns error string or false if no errors occurred |
366 | 366 | * |
367 | - * @return string|bool |
|
367 | + * @return string|false |
|
368 | 368 | */ |
369 | 369 | public function getError(){ |
370 | 370 | return $this->error != "" ? $this->error : false; |
@@ -473,7 +473,7 @@ discard block |
||
473 | 473 | * Final upload method to be called, isolated for testing purposes |
474 | 474 | * |
475 | 475 | * @param $tmp_name int the temporary location of the image file |
476 | - * @param $destination int upload destination |
|
476 | + * @param string $destination int upload destination |
|
477 | 477 | * |
478 | 478 | * @return bool |
479 | 479 | */ |