diff --git a/src/JsonParseNode.php b/src/JsonParseNode.php index 0bad4c8..cfc9a7c 100644 --- a/src/JsonParseNode.php +++ b/src/JsonParseNode.php @@ -104,7 +104,6 @@ public function getObjectValue(array $type): ?Parsable { if (!is_callable($type, true, $callableString)) { throw new InvalidArgumentException('Undefined method '. $type[1]); } - /** @var Parsable $result */ $result = $callableString($this); if($this->getOnBeforeAssignFieldValues() !== null) { $this->getOnBeforeAssignFieldValues()($result);