Updated BackgroundFill

This commit is contained in:
netkas 2024-10-04 12:05:06 -04:00
parent 68bb270dc1
commit 5cddbc44d8

View file

@ -1,16 +1,16 @@
<?php <?php
namespace TgBotLib\Objects; namespace TgBotLib\Objects;
use InvalidArgumentException; use InvalidArgumentException;
use TgBotLib\Enums\Types\BackgroundFillType; use TgBotLib\Enums\Types\BackgroundFillType;
use TgBotLib\Interfaces\ObjectTypeInterface; use TgBotLib\Interfaces\ObjectTypeInterface;
use TgBotLib\Objects\BackgroundFill\BackgroundFillFreeformGradient; use TgBotLib\Objects\BackgroundFill\BackgroundFillFreeformGradient;
use TgBotLib\Objects\BackgroundFill\BackgroundFillGradient; use TgBotLib\Objects\BackgroundFill\BackgroundFillGradient;
use TgBotLib\Objects\BackgroundFill\BackgroundFillSolid; use TgBotLib\Objects\BackgroundFill\BackgroundFillSolid;
abstract class BackgroundFill implements ObjectTypeInterface abstract class BackgroundFill implements ObjectTypeInterface
{ {
protected BackgroundFillType $type; protected BackgroundFillType $type;
/** /**
@ -51,4 +51,4 @@ abstract class BackgroundFill implements ObjectTypeInterface
default => throw new InvalidArgumentException("Invalid BackgroundFill Type") default => throw new InvalidArgumentException("Invalid BackgroundFill Type")
}; };
} }
} }