File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments