Added @throws CaptchaException annotation to insertBackground method in Image.php.
This commit is contained in:
1 file changed
+3
@@ -24,6 +24,9 @@ final class Image implements ImageContract
|
||||
return imagesy($this->image);
|
||||
}
|
||||
|
||||
/**
|
||||
* @throws CaptchaException
|
||||
*/
|
||||
public function insertBackground(string $pathToFile): ImageContract
|
||||
{
|
||||
list($backgroundWidth, $backgroundHeight) = getimagesize($pathToFile);
|
||||
|
||||
Reference in new issue
Block a user