Updated BackgroundFill
This commit is contained in:
parent
68bb270dc1
commit
5cddbc44d8
1 changed files with 43 additions and 43 deletions
|
@ -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")
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue