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 62949a1 commit 2dbcd6aCopy full SHA for 2dbcd6a
src/Fields/Field.php
@@ -29,23 +29,6 @@ public function getField()
29
return $this->field;
30
}
31
32
- public function jsonSerialize()
33
- {
34
- if (count($this->properties)) {
35
- $o = [];
36
- foreach ($this->properties as $prop) {
37
- $value = $this->$prop;
38
- if (is_object($value)) {
39
- $o[$prop] = $value->jsonSerialize();
40
- } elseif ($value) {
41
- $o[$prop] = $value;
42
- }
43
44
- return $o;
45
46
- return (string) $this;
47
48
-
49
public function __call($name, $args)
50
{
51
return call_user_func_array([$this->field, $name], $args);
0 commit comments