1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-06 22:06:36 +02:00

Remove unnecessary brackets

This commit is contained in:
Oliver Vogel
2024-10-06 11:25:12 +02:00
parent e9dbb82486
commit e244bc9c93

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);