1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-28 16:19:50 +02:00

Add default parameters for PlaceModifier

This commit is contained in:
Oliver Vogel
2024-05-05 10:36:30 +02:00
parent 2dbfb53bf8
commit 1cc333ce73

View File

@@ -13,9 +13,9 @@ class PlaceModifier extends SpecializableModifier
{ {
public function __construct( public function __construct(
public mixed $element, public mixed $element,
public string $position, public string $position = 'top-left',
public int $offset_x, public int $offset_x = 0,
public int $offset_y, public int $offset_y = 0,
public int $opacity = 100 public int $opacity = 100
) { ) {
} }