Skip to content

Commit f9fa4c7

Browse files
authored
Merge pull request #51 from zigzagdev/feature/nullable-parameter-typing-fix
Implement PHP 8.4-specific deprecation
2 parents cdaecd9 + f6ab02f commit f9fa4c7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/PublicStream.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function setLocale(string $lang): self
6464
return $this;
6565
}
6666

67-
public function startListening(Sets $sets = null): void
67+
public function startListening(?Sets $sets = null): void
6868
{
6969
// Delete old rules
7070
Rule::deleteBulk(...Rule::all());

src/UserStream.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public function onEvent(callable $onTweet): static
3232
return $this;
3333
}
3434

35-
public function startListening(Sets $sets = null): void
35+
public function startListening(?Sets $sets = null): void
3636
{
3737
// Delete old rules
3838
Rule::deleteBulk(...Rule::all());

0 commit comments

Comments
 (0)