We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7574029 commit 1907079Copy full SHA for 1907079
src/Attribute.php
@@ -61,22 +61,13 @@ public function toString(){
61
return $this->__toString();
62
}
63
64
- /**
65
- * Return the serialized attribute
66
- *
67
- * @return array
68
- */
69
- public function __serialize(){
70
- return $this->values;
71
- }
72
-
73
/**
74
* Convert instance to array
75
*
76
* @return array
77
*/
78
public function toArray(){
79
- return $this->__serialize();
+ return $this->values;
80
81
82
0 commit comments