File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,7 @@ public function properties(array $properties): self
110
110
return $ this ;
111
111
}
112
112
113
- public function asSheet (string $ windowId = null ): self
113
+ public function asSheet (? string $ windowId = null ): self
114
114
{
115
115
if (is_null ($ windowId )) {
116
116
$ this ->windowReference = Window::current ()->id ;
Original file line number Diff line number Diff line change @@ -66,17 +66,17 @@ public function label(string $label): self
66
66
return $ this ->add (new Label ($ label ));
67
67
}
68
68
69
- public function checkbox (string $ label , bool $ checked = false , string $ hotkey = null ): self
69
+ public function checkbox (string $ label , bool $ checked = false , ? string $ hotkey = null ): self
70
70
{
71
71
return $ this ->add (new Checkbox ($ label , $ checked , $ hotkey ));
72
72
}
73
73
74
- public function event (string $ event , string $ text , string $ hotkey = null ): self
74
+ public function event (string $ event , string $ text , ? string $ hotkey = null ): self
75
75
{
76
76
return $ this ->add (new Event ($ event , $ text , $ hotkey ));
77
77
}
78
78
79
- public function link (string $ url , string $ text , string $ hotkey = null ): self
79
+ public function link (string $ url , string $ text , ? string $ hotkey = null ): self
80
80
{
81
81
return $ this ->add (new Link ($ url , $ text , $ hotkey ));
82
82
}
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public function printers(): array
42
42
})->toArray ();
43
43
}
44
44
45
- public function print (string $ html , Printer $ printer = null ): void
45
+ public function print (string $ html , ? Printer $ printer = null ): void
46
46
{
47
47
$ this ->client ->post ('system/print ' , [
48
48
'html ' => $ html ,
You can’t perform that action at this time.
0 commit comments