mirror of
https://github.com/Karaka-Management/oms-Support.git
synced 2026-02-14 07:18:41 +00:00
phpstan fixes
This commit is contained in:
parent
8d08861392
commit
951c74bb3e
|
|
@ -74,7 +74,7 @@ class Ticket
|
||||||
/**
|
/**
|
||||||
* Attributes.
|
* Attributes.
|
||||||
*
|
*
|
||||||
* @var int[]|ItemAttribute[]
|
* @var int[]|TicketAttribute[]
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
private array $attributes = [];
|
private array $attributes = [];
|
||||||
|
|
@ -186,13 +186,13 @@ class Ticket
|
||||||
/**
|
/**
|
||||||
* Add attribute to item
|
* Add attribute to item
|
||||||
*
|
*
|
||||||
* @param ItemAttribute $attribute Note
|
* @param TicketAttribute $attribute Note
|
||||||
*
|
*
|
||||||
* @return void
|
* @return void
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
public function addAttribute(ItemAttribute $attribute) : void
|
public function addAttribute(TicketAttribute $attribute) : void
|
||||||
{
|
{
|
||||||
$this->attributes[] = $attribute;
|
$this->attributes[] = $attribute;
|
||||||
}
|
}
|
||||||
|
|
@ -200,7 +200,7 @@ class Ticket
|
||||||
/**
|
/**
|
||||||
* Get attributes
|
* Get attributes
|
||||||
*
|
*
|
||||||
* @return ItemAttribute[]
|
* @return int[]|TicketAttribute[]
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user