Explorar o código

Merge pull request #1048 from joanhey/patch-1

Fix PHP 8.4 explicit nullable
walkor hai 1 ano
pai
achega
e8c246d634
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Timer.php

+ 1 - 1
src/Timer.php

@@ -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;