diff --git a/src/Concerns/HasAddons.php b/src/Concerns/HasAddons.php index bc4a45d..5e084f5 100644 --- a/src/Concerns/HasAddons.php +++ b/src/Concerns/HasAddons.php @@ -61,8 +61,6 @@ protected function trailingAddonClass(): null|string * When certain props are set via slot instead of a prop * (e.g. instead of leading-addon="") * we need to set them in the render method as they don't get set in the constructor. - * - * @param array $data */ protected function setSlotAddonAttributes(array $data): void { diff --git a/src/FormComponents.php b/src/FormComponents.php index 4eae44a..a70470a 100644 --- a/src/FormComponents.php +++ b/src/FormComponents.php @@ -61,9 +61,6 @@ public function outputScripts(bool $force = false, $options = []): string /** * This will output the JavaScript necessary to run some components * such as CustomSelect. - * - * @param array $options - * @return string */ public function javaScript(array $options = []): string { diff --git a/tests/Components/Files/FileUploadTest.php b/tests/Components/Files/FileUploadTest.php index 6d6233b..0c856fd 100644 --- a/tests/Components/Files/FileUploadTest.php +++ b/tests/Components/Files/FileUploadTest.php @@ -79,10 +79,8 @@ public function shows_aria_attributes_on_error(): void /** * @test - * @dataProvider acceptsTypes * - * @param string $type - * @param string $expected + * @dataProvider acceptsTypes */ public function can_be_told_to_accept_certain_preset_types(string $type, string $expected): void { diff --git a/tests/Components/FormTest.php b/tests/Components/FormTest.php index 7b81b87..13dce58 100644 --- a/tests/Components/FormTest.php +++ b/tests/Components/FormTest.php @@ -71,9 +71,8 @@ public function action_is_optional(): void /** * @test - * @dataProvider formMethodsWithoutCsrf * - * @param string $method + * @dataProvider formMethodsWithoutCsrf */ public function csrf_input_is_not_rendered_on_certain_form_methods(string $method): void {