Skip to content

Commit 696af22

Browse files
committed
Fix codestyle
1 parent 454c710 commit 696af22

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

src/SelectboxItem.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ final class SelectboxItem
1111

1212
private string $name;
1313

14-
private int|string|null $parentId;
14+
private int|string |null $parentId;
1515

1616

17-
public function __construct(int|string $id, string $name, int|string|null $parentId = null)
17+
public function __construct(int|string $id, string $name, int|string |null $parentId = null)
1818
{
1919
$this->id = $id;
2020
$this->name = $name;

src/SelectboxTree.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,11 @@ public function setNameFormatter(NameFormatter $nameFormatter): void
9797
* @param string[][]|null[][]|null $categories
9898
* @return mixed[][]
9999
*/
100-
private function serializeCategoriesToSelectbox(?array $categories, int $level = 0, int|string|null $parent = null): array
100+
private function serializeCategoriesToSelectbox(
101+
?array $categories,
102+
int $level = 0,
103+
int|string |null $parent = null
104+
): array
101105
{
102106
static $usedIds = [];
103107

0 commit comments

Comments
 (0)