Skip to content

Commit

Permalink
Fix PHP 8.4 explicit nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
joanhey authored Aug 3, 2024
1 parent 14e66a8 commit b88eeb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Timer.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class Timer
* @param EventInterface|null $event
* @return void
*/
public static function init(EventInterface $event = null): void
public static function init(?EventInterface $event = null): void
{
if ($event) {
self::$event = $event;
Expand Down

0 comments on commit b88eeb5

Please sign in to comment.