src/Scalify/PuppetMaster/Client/Job.php
private function parseDate($dateTime)
    {
        if (empty($dateTime)) {
            return null;
        }

        return DateTime::createFromFormat(DateTime::RFC3339, $dateTime);
    }
private function parseDate($dateTime)
    {
        if (empty($dateTime)) {
            return null;
        }

        return DateTime::createFromFormat(DateTime::RFC3339, $dateTime);
    }
@param string|null $dateTime

@return DateTime|null