From 75b8f6f3e2e3a4f17135ff6c8dbcf25b33cf38fe Mon Sep 17 00:00:00 2001 From: Josh Bruce Date: Sun, 30 Apr 2023 14:48:32 -0400 Subject: [PATCH 1/2] add: String or int to options dictionary --- src/Forms/Select.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Forms/Select.php b/src/Forms/Select.php index c42c1bc..e462686 100644 --- a/src/Forms/Select.php +++ b/src/Forms/Select.php @@ -19,7 +19,7 @@ class Select implements Stringable private bool $checkbox = false; /** - * @param array $options + * @param array $options * @param string|string[] $selected */ public static function create( From 1e51690818053f5d9fca843c3ce854d67296d44e Mon Sep 17 00:00:00 2001 From: Josh Bruce Date: Sun, 30 Apr 2023 14:50:14 -0400 Subject: [PATCH 2/2] fix: Typo in argument --- src/Forms/Select.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Forms/Select.php b/src/Forms/Select.php index e462686..fa4d951 100644 --- a/src/Forms/Select.php +++ b/src/Forms/Select.php @@ -32,7 +32,7 @@ public static function create( } /** - * @param array $options + * @param array $options * @param string|string[] $selected */ final private function __construct( @@ -43,9 +43,9 @@ final private function __construct( ) { } - public function wrapperProps(string ...$propperties): self + public function wrapperProps(string ...$properties): self { - $this->wrapperProperties = $propperties; + $this->wrapperProperties = $properties; return $this; }