1
0
mirror of https://github.com/Intervention/image.git synced 2025-01-17 04:08:14 +01:00

Remove unnecessary brackets

This commit is contained in:
Oliver Vogel 2024-10-06 11:25:12 +02:00
parent e9dbb82486
commit e244bc9c93
No known key found for this signature in database
GPG Key ID: 1B19D214C02D69BB

View File

@ -26,7 +26,7 @@ class FontProcessor extends AbstractFontProcessor
{
// no text - no box size
if (mb_strlen($text) === 0) {
return (new Rectangle(0, 0));
return new Rectangle(0, 0);
}
$draw = $this->toImagickDraw($font);