masterexploder / PHPThumb

PHP Thumbnail & Image Manipulation Library
http://phpthumb.gxdlabs.com
980 stars 264 forks source link

Fixing return typo annotation in rotateImage method #136

Open slig36 opened 2 years ago

slig36 commented 2 years ago

Hi,

With PHP 7.2 and Symfony 3.4 we can't extract translation due to a small typo in the docblock of the rotateImage method. I fix it, hopes it helps others :)

PHP: PHP 7.2.34-30+0~20220614.72+debian11 Symfony: v3.4.49 Command: php bin/console translation:extract fr de en es ja --dir=./src/ --dir=./app/Resources/TwigBundle/views --dir=./app/Resources/views/ --output-dir=./app/Resources/translations --domain=mail

[Doctrine\Common\Annotations\AnnotationException]
[Semantical Error] The annotation "@retunrn" in method PHPThumb\GD::rotateImage() was never imported. Did you ma
ybe forget to add a "use" statement for this annotation?

@retunrn error