VulcanPhp\PrettyError\PrettyError->handleError():34 PHP 8.2.22

strtotime(): Passing null to parameter #1 ($datetime) of type string is deprecated

/home/movtv/public_html/vendor/vulcanphp/core/src/Helpers/Time.php:34

                                    
22
            return date($format$date);
23
        }
24
25
        return date($formatstrtotime($date));
26
    }
27
28
    public static function dateFormat($date,  ?string $format null): string
29
    {
30
        if ($format === null) {
31
            $format self::DEFAULT_DATE_FORMAT;
32
        }
33
34
        return date($formatstrtotime($date));
35
    }
36
37
    public static function timeFormat($date,  ?string $format null): string
38
    {
39
        if ($format === null) {
40
            $format self::DEFAULT_TIME_FORMAT;
41
        }
42
43
        return date($formatstrtotime($date));
44
    }
45
46
    public static function getReadTime(string $contentint $wpm 180): string
47
    {