Skip to content

Commit 9281a5e

Browse files
committed
Apply fixes from StyleCI
1 parent a5a52ec commit 9281a5e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Views/Components/Button.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class Button extends Component
2121

2222
public string $nonce;
2323

24-
public function __construct(public string $formId, string $callback = null)
24+
public function __construct(public string $formId, ?string $callback = null)
2525
{
2626
$this->site_key = config('captcha.sitekey', '');
2727
$this->containerClass = Captcha::getContainerClassName();

src/Views/Components/Container.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Container extends Component
1818

1919
public ?string $size;
2020

21-
public function __construct(string $theme = null, string $size = null)
21+
public function __construct(?string $theme = null, ?string $size = null)
2222
{
2323
$this->site_key = config('captcha.sitekey', '');
2424
$this->theme = $theme ?? config('captcha.theme', 'light');

0 commit comments

Comments
 (0)