Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
olivervogel committed Dec 3, 2023
1 parent 02e62b8 commit 987367d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Modifiers/ColorspaceModifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

class ColorspaceModifier extends AbstractModifier
{
public function __construct(protected string|ColorspaceInterface $target)
public function __construct(public string|ColorspaceInterface $target)
{
}

Expand Down
6 changes: 3 additions & 3 deletions src/Modifiers/FitModifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
class FitModifier extends AbstractModifier
{
public function __construct(
protected int $width,
protected int $height,
protected string $position = 'center'
public int $width,
public int $height,
public string $position = 'center'
) {
}

Expand Down

0 comments on commit 987367d

Please sign in to comment.