Strict check for reading satic config.
Add typehint.
Merge pull request #5175 from cakephp/3.0-config

Strict check for reading static config.