mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-24 18:58:46 +02:00
Fixed code style.
This commit is contained in:
parent
1aed1d1d26
commit
9a7223a301
142 changed files with 534 additions and 716 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue