Skip to content

Commit e9a7532

Browse files
simonhampgithub-actions[bot]
authored andcommitted
Fix styling
1 parent c699310 commit e9a7532

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/Dialog.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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;

src/Menu/Menu.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
}

src/System.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)