Skip to content

Commit

Permalink
make it non-breaking
Browse files Browse the repository at this point in the history
  • Loading branch information
tanthammar committed Nov 10, 2023
1 parent 8979e44 commit f65d2ef
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Forms/JSONEditor.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@ public function height(int | Closure | null $height): static
return $this;
}

/**
* @deprecated obsolete, kept for backward compatibility
*/
public function isJson(bool $state = true): static
{
return $this;
}

public function getHeight(): ?int
{
return $this->evaluate($this->height);
Expand Down

0 comments on commit f65d2ef

Please sign in to comment.