We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0935447 commit 56428cfCopy full SHA for 56428cf
src/SelectboxItem.php
@@ -7,18 +7,11 @@
7
8
final class SelectboxItem
9
{
10
- private int|string $id;
11
-
12
- private string $name;
13
14
- private int|string |null $parentId;
15
16
17
- public function __construct(int|string $id, string $name, int|string |null $parentId = null)
18
- {
19
- $this->id = $id;
20
- $this->name = $name;
21
- $this->parentId = $parentId;
+ public function __construct(
+ private int|string $id,
+ private string $name,
+ private int|string |null $parentId = null
+ ) {
22
}
23
24
0 commit comments