mirror of
https://github.com/Intervention/image.git
synced 2025-01-17 12:18:14 +01:00
Fix bug
This commit is contained in:
parent
02e62b8cda
commit
987367d430
@ -9,7 +9,7 @@ use Intervention\Image\Exceptions\NotSupportedException;
|
||||
|
||||
class ColorspaceModifier extends AbstractModifier
|
||||
{
|
||||
public function __construct(protected string|ColorspaceInterface $target)
|
||||
public function __construct(public string|ColorspaceInterface $target)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -9,9 +9,9 @@ use Intervention\Image\Interfaces\SizeInterface;
|
||||
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'
|
||||
) {
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user