fixes typehint for setAuthorizeController