diff --git a/src/Assets/Image.php b/src/Assets/Image.php index c84552c8d3089c01666f849eae841f5e6c8315ec..6ab70d4c21f1792ec9fdd48adda6194ab2dff10d 100644 --- a/src/Assets/Image.php +++ b/src/Assets/Image.php @@ -112,8 +112,8 @@ class Image $source = self::manager()->read($asset['content']); // creates a new image with the dominant color and adds a 15% margin $image = self::manager()->create( - width: (int) round($asset['width'] * (1 + 15/100), 0), - height: (int) round($asset['height'] * (1 + 15/100), 0) + width: (int) round($asset['width'] * (1 + 15 / 100), 0), + height: (int) round($asset['height'] * (1 + 15 / 100), 0) )->fill(self::getDominantColor($asset)); // inserts the original image in the center $image->place($source, position: 'center');