It seems like \DateTime::createFromFormat('U', $array[1]) targeting DateTime::createFromFormat() can also be of type false; however, Storeman\Synchronization::__construct() does only seem to accept object<DateTime>, did you maybe forget to handle an error condition?