Permalink
Browse files

added type hints in addPrefix that would not work with anything other…

… than array anyway
  • Loading branch information...
1 parent 930bdc4 commit b4ea9bfc84cef5136725e7ce7fd1d1590cd86f0f @Tobion committed Nov 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Symfony/Component/Routing/RouteCollection.php
@@ -217,7 +217,7 @@ public function addCollection(RouteCollection $collection)
*
* @api
*/
- public function addPrefix($prefix, $defaults = array(), $requirements = array())
+ public function addPrefix($prefix, array $defaults = array(), array $requirements = array())
{
$prefix = trim(trim($prefix), '/');

0 comments on commit b4ea9bf

Please sign in to comment.