Skip to content

Commit

Permalink
Remove unnecessary brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
olivervogel committed Oct 6, 2024
1 parent e9dbb82 commit e244bc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Drivers/Imagick/FontProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function boxSize(string $text, FontInterface $font): SizeInterface
{
// no text - no box size
if (mb_strlen($text) === 0) {
return (new Rectangle(0, 0));
return new Rectangle(0, 0);
}

$draw = $this->toImagickDraw($font);
Expand Down

0 comments on commit e244bc9

Please sign in to comment.