Skip to content

Commit

Permalink
Add default parameters for PlaceModifier
Browse files Browse the repository at this point in the history
  • Loading branch information
olivervogel committed May 5, 2024
1 parent 2dbfb53 commit 1cc333c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Modifiers/PlaceModifier.php
Expand Up @@ -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
) {
}
Expand Down

0 comments on commit 1cc333c

Please sign in to comment.