mirror of
https://github.com/Intervention/image.git
synced 2025-01-17 20:28:21 +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
|
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
|
class FitModifier extends AbstractModifier
|
||||||
{
|
{
|
||||||
public function __construct(
|
public function __construct(
|
||||||
protected int $width,
|
public int $width,
|
||||||
protected int $height,
|
public int $height,
|
||||||
protected string $position = 'center'
|
public string $position = 'center'
|
||||||
) {
|
) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user