Skip to content

Commit d0c575a

Browse files
authored
Merge pull request #18 from 8fold/body-props
add: String or int to options dictionary
2 parents 7564b4a + 1e51690 commit d0c575a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Forms/Select.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Select implements Stringable
1919
private bool $checkbox = false;
2020

2121
/**
22-
* @param array<string, string> $options
22+
* @param array<string|int, string> $options
2323
* @param string|string[] $selected
2424
*/
2525
public static function create(
@@ -32,7 +32,7 @@ public static function create(
3232
}
3333

3434
/**
35-
* @param array<string, string> $options
35+
* @param array<string|int, string> $options
3636
* @param string|string[] $selected
3737
*/
3838
final private function __construct(
@@ -43,9 +43,9 @@ final private function __construct(
4343
) {
4444
}
4545

46-
public function wrapperProps(string ...$propperties): self
46+
public function wrapperProps(string ...$properties): self
4747
{
48-
$this->wrapperProperties = $propperties;
48+
$this->wrapperProperties = $properties;
4949
return $this;
5050
}
5151

0 commit comments

Comments
 (0)