@@ -154,8 +154,6 @@ discard block |
||
154 | 154 | /** |
155 | 155 | * Renames image |
156 | 156 | * |
157 | - * @param null $isNameGiven if null, image will be auto-generated |
|
158 | - * |
|
159 | 157 | * @return $this |
160 | 158 | */ |
161 | 159 | public function setName($isNameProvided = null) |
@@ -332,7 +330,7 @@ discard block |
||
332 | 330 | /** |
333 | 331 | * Returns error string or false if no errors occurred |
334 | 332 | * |
335 | - * @return string|bool |
|
333 | + * @return integer |
|
336 | 334 | */ |
337 | 335 | public function getError(){ |
338 | 336 | return $this->error; |
@@ -444,7 +442,7 @@ discard block |
||
444 | 442 | * Final upload method to be called, isolated for testing purposes |
445 | 443 | * |
446 | 444 | * @param $tmp_name int the temporary location of the image file |
447 | - * @param $destination int upload destination |
|
445 | + * @param string $destination int upload destination |
|
448 | 446 | * |
449 | 447 | * @return bool |
450 | 448 | */ |