1
0
mirror of https://github.com/Intervention/image.git synced 2025-01-17 20:28:21 +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 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 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'
) { ) {
} }