The declared return type 'int' for App\Request\ImageRequest::getTextSize is not nullable, but 'int|null' contains null
public function getTextSize(): /**##(##**/int/**##)##**/
The declared return type 'int' for App\Request\ImageRequest::getTextSize is not nullable, but the function returns 'int|null'
return /**##(##**/$this->textSize/**##)##**/;
Argument 1 of App\Model\Resolution::__construct cannot be null, possibly null value provided
return new Resolution(/**##(##**/$width/**##)##**/, $height);
Argument 2 of App\Model\Resolution::__construct cannot be null, possibly null value provided
return new Resolution($width, /**##(##**/$height/**##)##**/);