We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7816206 commit 86f97eeCopy full SHA for 86f97ee
src/Dock.php
@@ -43,10 +43,10 @@ public function cancelBounce()
43
$this->client->post('dock/cancel-bounce');
44
}
45
46
- public function badge(string $label = null): void | string
+ public function badge(?string $label = null): void|string
47
{
48
if (is_null($label)) {
49
- return $this->client-get('dock/badge');
+ return $this->client - get('dock/badge');
50
51
52
$this->client->post('dock/badge', ['label' => $label]);
0 commit comments