Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

Commit a6fbd5a

Browse files
rawilkgithub-actions[bot]
authored andcommitted
PHP Linting (Pint)
1 parent 28e3558 commit a6fbd5a

File tree

4 files changed

+2
-10
lines changed

4 files changed

+2
-10
lines changed

src/Concerns/HasAddons.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@ protected function trailingAddonClass(): null|string
6161
* When certain props are set via slot instead of a prop
6262
* (e.g. <x-slot name="leadingAddon"> instead of leading-addon="")
6363
* we need to set them in the render method as they don't get set in the constructor.
64-
*
65-
* @param array $data
6664
*/
6765
protected function setSlotAddonAttributes(array $data): void
6866
{

src/FormComponents.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,6 @@ public function outputScripts(bool $force = false, $options = []): string
6161
/**
6262
* This will output the JavaScript necessary to run some components
6363
* such as CustomSelect.
64-
*
65-
* @param array $options
66-
* @return string
6764
*/
6865
public function javaScript(array $options = []): string
6966
{

tests/Components/Files/FileUploadTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,8 @@ public function shows_aria_attributes_on_error(): void
7979

8080
/**
8181
* @test
82-
* @dataProvider acceptsTypes
8382
*
84-
* @param string $type
85-
* @param string $expected
83+
* @dataProvider acceptsTypes
8684
*/
8785
public function can_be_told_to_accept_certain_preset_types(string $type, string $expected): void
8886
{

tests/Components/FormTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,8 @@ public function action_is_optional(): void
7171

7272
/**
7373
* @test
74-
* @dataProvider formMethodsWithoutCsrf
7574
*
76-
* @param string $method
75+
* @dataProvider formMethodsWithoutCsrf
7776
*/
7877
public function csrf_input_is_not_rendered_on_certain_form_methods(string $method): void
7978
{

0 commit comments

Comments
 (0)