Correct return types.
Also adjust return types for _authRequired()
Merge pull request #5090 from cakephp/3.0-returntypes

Correct return types.