3.0.wip harden method signatures

last part for https://github.com/cakephp/cakephp/pull/3233