File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ class Button extends Component
21
21
22
22
public string $ nonce ;
23
23
24
- public function __construct (public string $ formId , string $ callback = null )
24
+ public function __construct (public string $ formId , ? string $ callback = null )
25
25
{
26
26
$ this ->site_key = config ('captcha.sitekey ' , '' );
27
27
$ this ->containerClass = Captcha::getContainerClassName ();
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ class Container extends Component
18
18
19
19
public ?string $ size ;
20
20
21
- public function __construct (string $ theme = null , string $ size = null )
21
+ public function __construct (? string $ theme = null , ? string $ size = null )
22
22
{
23
23
$ this ->site_key = config ('captcha.sitekey ' , '' );
24
24
$ this ->theme = $ theme ?? config ('captcha.theme ' , 'light ' );
You can’t perform that action at this time.
0 commit comments