Fixed some deprecation notices.

This commit is contained in:
Jan Böhmer 2022-07-23 22:21:29 +02:00
parent 2fc44c91e6
commit d9d7e09866
4 changed files with 4 additions and 4 deletions

View file

@ -233,7 +233,7 @@ final class TreeViewNode implements JsonSerializable
return $this;
}
public function jsonSerialize()
public function jsonSerialize(): array
{
$ret = [
'text' => $this->text,