mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-18 18:04:50 +02:00
Applied symplify rules to codebase.
This commit is contained in:
parent
2f20d90041
commit
388e847b17
136 changed files with 1370 additions and 789 deletions
|
@ -24,11 +24,13 @@ declare(strict_types=1);
|
|||
|
||||
namespace App\Helpers\Trees;
|
||||
|
||||
use JsonSerializable;
|
||||
|
||||
/**
|
||||
* This class represents a node for the bootstrap treeview node.
|
||||
* When you serialize an array of these objects to JSON, you can use the serialized data in data for the treeview.
|
||||
*/
|
||||
class TreeViewNode implements \JsonSerializable
|
||||
final class TreeViewNode implements JsonSerializable
|
||||
{
|
||||
protected $text;
|
||||
protected $href;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue