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

This commit is contained in:
kor-elf committed 2026-10-23 20:35:47 +05:00
1 parent 62dcd6c0b9
commit e1fe94f920
1 file changed
+3
@@ -108,6 +108,9 @@ final class Image implements ImageContract
imagedestroy($this->image);
}
/**
* @throws CaptchaException
*/
private function createImageFromPathToFile(string $pathToFile): \GdImage
{
return match (mime_content_type($pathToFile)) {