Skip to content

Commit 2888270

Browse files
committed
SelectboxItem: Add typehints
1 parent e11170a commit 2888270

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/SelectboxItem.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ final class SelectboxItem
1616
private $parentId;
1717

1818

19+
/**
20+
* @param int|string $id
21+
* @param int|string|null $parentId
22+
*/
1923
public function __construct($id, string $name, $parentId = null)
2024
{
2125
$this->id = $id;

0 commit comments

Comments
 (0)