There is no implicit casting going on here. If `$method` cannot be casted to string, then users of the lib receive a warning immediately