Explorar el Código

Fix PHP 8.4 explicit nullable

Joan Miquel hace 1 año
padre
commit
b88eeb5f00
Se han modificado 1 ficheros con 1 adiciones y 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;