Skip to content

Commit 2560512

Browse files
authored
Attribute label casting fix (#1113)
1 parent ac5bfb2 commit 2560512

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Models/AbstractAttribute.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ protected function sortOrder(): Attribute
8383

8484
public function __toString(): string
8585
{
86-
return $this->label;
86+
return (string) $this->label;
8787
}
8888

8989
public function toArray()

0 commit comments

Comments
 (0)