Skip to content

Commit

Permalink
Merge pull request #1048 from joanhey/patch-1
Browse files Browse the repository at this point in the history
Fix PHP 8.4 explicit nullable
  • Loading branch information
walkor authored Aug 4, 2024
2 parents 14e66a8 + b88eeb5 commit e8c246d
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 e8c246d

Please sign in to comment.