Skip to content

Commit 2dbcd6a

Browse files
rudolfbykerdanmichaelo
authored andcommitted
Remove method already present in trait.
1 parent 62949a1 commit 2dbcd6a

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

src/Fields/Field.php

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -29,23 +29,6 @@ public function getField()
2929
return $this->field;
3030
}
3131

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-
4932
public function __call($name, $args)
5033
{
5134
return call_user_func_array([$this->field, $name], $args);

0 commit comments

Comments
 (0)