Added @throws CaptchaException annotation to insertBackground method in Image.php.

This commit is contained in:
kor-elf committed 2026-10-23 20:34:58 +05:00
1 parent 643776336e
commit 62dcd6c0b9
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);