1
0
mirror of https://github.com/Intervention/image.git synced 2025-01-17 12:18:14 +01:00
This commit is contained in:
Oliver Vogel 2023-12-03 11:51:06 +01:00
parent 02e62b8cda
commit 987367d430
2 changed files with 4 additions and 4 deletions

View File

@ -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)
{
}

View File

@ -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'
) {
}