mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-26 11:48:49 +02:00
Fixed some more inspection issues
This commit is contained in:
parent
de96aae9a5
commit
29d1d49aca
83 changed files with 153 additions and 172 deletions
|
@ -30,17 +30,17 @@ use JsonSerializable;
|
|||
*/
|
||||
final class TreeViewNode implements JsonSerializable
|
||||
{
|
||||
private $text;
|
||||
private $href;
|
||||
private $nodes;
|
||||
private string $text;
|
||||
private ?string $href;
|
||||
private ?array $nodes;
|
||||
|
||||
private $state = null;
|
||||
private ?TreeViewNodeState $state = null;
|
||||
|
||||
private $tags;
|
||||
private ?array $tags;
|
||||
|
||||
private $id;
|
||||
private ?int $id;
|
||||
|
||||
private $icon;
|
||||
private ?string $icon;
|
||||
|
||||
/**
|
||||
* Creates a new TreeView node with the given parameters.
|
||||
|
|
|
@ -29,17 +29,17 @@ final class TreeViewNodeState implements JsonSerializable
|
|||
/**
|
||||
* @var bool|null
|
||||
*/
|
||||
private $disabled = null;
|
||||
private ?bool $disabled = null;
|
||||
|
||||
/**
|
||||
* @var bool|null
|
||||
*/
|
||||
private $expanded = null;
|
||||
private ?bool $expanded = null;
|
||||
|
||||
/**
|
||||
* @var bool|null
|
||||
*/
|
||||
private $selected = null;
|
||||
private ?bool $selected = null;
|
||||
|
||||
public function getDisabled(): ?bool
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue