Skip to content

Commit 7b40863

Browse files
committed
small fixes
1 parent 8599b44 commit 7b40863

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/View/Components/FormElements/Info.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ class Info extends Component
1010
public bool $icon;
1111

1212
public function __construct(
13-
string $name = '',
1413
string $label,
14+
string $name = '',
1515
string $comment = null,
1616
string $id = null,
1717
string $size = null,

src/View/Components/FormElements/Searchbox.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ class Searchbox extends Component
1111

1212
public function __construct(
1313
string $name,
14+
array $options,
1415
string $label = null,
1516
string $comment = null,
1617
string $id = null,
1718
bool $required = false,
1819
bool $disabled = false,
1920
string $size = null,
2021
string $value = null,
21-
array $options,
2222
bool $allowNullOption = false
2323
) {
2424
parent::__construct($name, $label, null, $id, $comment, $required, $size, $value, $disabled);

src/View/Components/FormElements/Select.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ class Select extends Component
1111

1212
public function __construct(
1313
string $name,
14+
array $options,
1415
string $label = null,
1516
string $comment = null,
1617
string $id = null,
1718
bool $required = false,
1819
bool $disabled = false,
1920
string $size = null,
2021
string $value = null,
21-
array $options,
2222
bool $allowNullOption = false
2323
) {
2424
parent::__construct($name, $label, null, $id, $comment, $required, $size, $value, $disabled);

src/View/Components/FormElements/Select2.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ class Select2 extends Component
1111

1212
public function __construct(
1313
string $name,
14+
array $options,
1415
string $label = null,
1516
string $comment = null,
1617
string $id = null,
1718
bool $required = false,
1819
bool $disabled = false,
1920
string $size = null,
2021
string $value = null,
21-
array $options,
2222
bool $allowNullOption = false
2323
) {
2424
parent::__construct($name, $label, null, $id, $comment, $required, $size, $value, $disabled);

0 commit comments

Comments
 (0)