From 951c74bb3e589268899d02e004af5fbce0a396c1 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 10 Oct 2021 16:07:06 +0200 Subject: [PATCH] phpstan fixes --- Models/Ticket.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Models/Ticket.php b/Models/Ticket.php index beb607e..7563be6 100755 --- a/Models/Ticket.php +++ b/Models/Ticket.php @@ -74,7 +74,7 @@ class Ticket /** * Attributes. * - * @var int[]|ItemAttribute[] + * @var int[]|TicketAttribute[] * @since 1.0.0 */ private array $attributes = []; @@ -186,13 +186,13 @@ class Ticket /** * Add attribute to item * - * @param ItemAttribute $attribute Note + * @param TicketAttribute $attribute Note * * @return void * * @since 1.0.0 */ - public function addAttribute(ItemAttribute $attribute) : void + public function addAttribute(TicketAttribute $attribute) : void { $this->attributes[] = $attribute; } @@ -200,7 +200,7 @@ class Ticket /** * Get attributes * - * @return ItemAttribute[] + * @return int[]|TicketAttribute[] * * @since 1.0.0 */