@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | * |
122 | 122 | * @param mixed $offset |
123 | 123 | * |
124 | - * @return bool|mixed |
|
124 | + * @return string|boolean |
|
125 | 125 | */ |
126 | 126 | public function offsetGet($offset) |
127 | 127 | { |
@@ -140,8 +140,6 @@ discard block |
||
140 | 140 | /** |
141 | 141 | * Renames image |
142 | 142 | * |
143 | - * @param null $isNameGiven if null, image will be auto-generated |
|
144 | - * |
|
145 | 143 | * @return $this |
146 | 144 | */ |
147 | 145 | public function setName($isNameProvided = null) |
@@ -318,7 +316,7 @@ discard block |
||
318 | 316 | /** |
319 | 317 | * Returns error string or false if no errors occurred |
320 | 318 | * |
321 | - * @return string|bool |
|
319 | + * @return string|false |
|
322 | 320 | */ |
323 | 321 | public function getError(){ |
324 | 322 | return $this->error != "" ? $this->error : false; |
@@ -430,7 +428,7 @@ discard block |
||
430 | 428 | * Final upload method to be called, isolated for testing purposes |
431 | 429 | * |
432 | 430 | * @param $tmp_name int the temporary location of the image file |
433 | - * @param $destination int upload destination |
|
431 | + * @param string $destination int upload destination |
|
434 | 432 | * |
435 | 433 | * @return bool |
436 | 434 | */ |