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
110110 return $ this ;
111111 }
112112
113- public function asSheet (string $ windowId = null ): self
113+ public function asSheet (? string $ windowId = null ): self
114114 {
115115 if (is_null ($ windowId )) {
116116 $ 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
6666 return $ this ->add (new Label ($ label ));
6767 }
6868
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
7070 {
7171 return $ this ->add (new Checkbox ($ label , $ checked , $ hotkey ));
7272 }
7373
74- public function event (string $ event , string $ text , string $ hotkey = null ): self
74+ public function event (string $ event , string $ text , ? string $ hotkey = null ): self
7575 {
7676 return $ this ->add (new Event ($ event , $ text , $ hotkey ));
7777 }
7878
79- public function link (string $ url , string $ text , string $ hotkey = null ): self
79+ public function link (string $ url , string $ text , ? string $ hotkey = null ): self
8080 {
8181 return $ this ->add (new Link ($ url , $ text , $ hotkey ));
8282 }
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public function printers(): array
4242 })->toArray ();
4343 }
4444
45- public function print (string $ html , Printer $ printer = null ): void
45+ public function print (string $ html , ? Printer $ printer = null ): void
4646 {
4747 $ this ->client ->post ('system/print ' , [
4848 'html ' => $ html ,
You can’t perform that action at this time.
0 commit comments