Skip to content

Commit bc4edb6

Browse files
committed
Fixed toArray
1 parent 29a820d commit bc4edb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Models/AbstractAttribute.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,11 @@ 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()
9090
{
91-
return $this->transformed_value;
91+
return $this->value;
9292
}
9393
}

0 commit comments

Comments
 (0)