Fixed code style.

This commit is contained in:
Jan Böhmer 2020-01-04 20:24:09 +01:00
parent 1aed1d1d26
commit 9a7223a301
142 changed files with 534 additions and 716 deletions

View file

@ -75,20 +75,20 @@ class TreeViewNodeState implements \JsonSerializable
}
/**
* @inheritDoc
* {@inheritdoc}
*/
public function jsonSerialize()
{
$ret = [];
if ($this->selected !== null) {
if (null !== $this->selected) {
$ret['selected'] = $this->selected;
}
if($this->disabled !== null) {
if (null !== $this->disabled) {
$ret['disabled'] = $this->disabled;
}
if($this->expanded !== null) {
if (null !== $this->expanded) {
$ret['expanded'] = $this->expanded;
}