added type hinting to TimeMapResource.php