fix registration, login and billing

This commit is contained in:
Dennis Eichhorn 2023-03-26 22:54:09 +00:00
parent cca5b6d94b
commit 9bbebedc40

View File

@ -271,11 +271,11 @@ class Item implements \JsonSerializable
* *
* @param string $attrName Attribute name * @param string $attrName Attribute name
* *
* @return null|ItemAttributeValue * @return null|ItemAttribute
* *
* @since 1.0.0 * @since 1.0.0
*/ */
public function getAttribute(string $attrName) : ?ItemAttributeValue public function getAttribute(string $attrName) : ?ItemAttribute
{ {
foreach ($this->attributes as $attribute) { foreach ($this->attributes as $attribute) {
if ($attribute->type->name === $attrName) { if ($attribute->type->name === $attrName) {