Cast all variables passed to ctype_digit() to a string using strval() method.
See d.o issue https://www.drupal.org/project/calendar_view/issues/3312074 for context.
See d.o issue https://www.drupal.org/project/calendar_view/issues/3312074 for context.