Skip to content

Commit

Permalink
Fix PHPStan failure
Browse files Browse the repository at this point in the history
  • Loading branch information
Ndiritu committed Mar 21, 2023
1 parent 7536ec5 commit 34a89a7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/JsonParseNode.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 34a89a7

Please sign in to comment.