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:
@@ -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
|
||||
) {
|
||||
}
|
||||
|
Reference in New Issue
Block a user