소스 검색

Fix PHP 8.4 explicit nullable

Joan Miquel 1 년 전
부모
커밋
b88eeb5f00
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;