1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-27 15:50:09 +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 mixed $element,
public string $position,
public int $offset_x,
public int $offset_y,
public string $position = 'top-left',
public int $offset_x = 0,
public int $offset_y = 0,
public int $opacity = 100
) {
}