Skip to content

Commit 1662a0c

Browse files
committed
code style fix
1 parent a46ab8f commit 1662a0c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/InitialAvatar.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ protected function setupImageManager()
8585
$driver = $this->getDriver();
8686

8787
$driverInstance = match ($driver) {
88-
'gd' => new GdDriver(),
88+
'gd' => new GdDriver(),
8989
'imagick' => new ImagickDriver(),
90-
default => throw new RuntimeException("Unsupported driver."),
90+
default => throw new RuntimeException('Unsupported driver.'),
9191
};
9292

9393
$this->image = new ImageManager($driverInstance);
@@ -714,7 +714,7 @@ protected function makeAvatar($image)
714714
x: $width / 2,
715715
y: $height / 2,
716716
init: function (CircleFactory $circle) use ($width, $bgColor) {
717-
$circle->radius($width -2);
717+
$circle->radius($width - 2);
718718
$circle->background($bgColor);
719719
}
720720
);

0 commit comments

Comments
 (0)