1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-07 06:16:34 +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 // no text - no box size
if (mb_strlen($text) === 0) { if (mb_strlen($text) === 0) {
return (new Rectangle(0, 0)); return new Rectangle(0, 0);
} }
$draw = $this->toImagickDraw($font); $draw = $this->toImagickDraw($font);