cakephp/cakephp — pull request #3802 by dereuromark (2014-06-25 23:20:19+00:00)
Title: Add defensive typehinting for public methods for a cleaner API.

Follow up on https://github.com/cakephp/cakephp/pull/3775

As it got quite controversial I decided to extract the public API changes into this PR
and then will rebase the other one on top of it afterwards - so only the actually relevant changes around protected methods are then visible.