cakephp/cakephp — pull request #4497 by dereuromark (2014-09-05 01:31:02+00:00)
Title: Better method signatures for Routing.

Also, addExtensions() already array_unique()s it. No need to do that twice then.

Refs https://github.com/cakephp/cakephp/pull/3802