From 9bbebedc40991c7d891155edce52ca982cb87c4a Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 26 Mar 2023 22:54:09 +0000 Subject: [PATCH] fix registration, login and billing --- Models/Item.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Models/Item.php b/Models/Item.php index 3060634..637ee61 100755 --- a/Models/Item.php +++ b/Models/Item.php @@ -271,11 +271,11 @@ class Item implements \JsonSerializable * * @param string $attrName Attribute name * - * @return null|ItemAttributeValue + * @return null|ItemAttribute * * @since 1.0.0 */ - public function getAttribute(string $attrName) : ?ItemAttributeValue + public function getAttribute(string $attrName) : ?ItemAttribute { foreach ($this->attributes as $attribute) { if ($attribute->type->name === $attrName) {