Skip to content

Commit 3d299be

Browse files
committed
[Routing] deprecate the old url generator reference type values
1 parent 6991ff6 commit 3d299be

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Controller/Controller.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ class Controller extends ContainerAware
3939
/**
4040
* Generates a URL from the given parameters.
4141
*
42-
* @param string $route The name of the route
43-
* @param mixed $parameters An array of parameters
44-
* @param bool|string $referenceType The type of reference (one of the constants in UrlGeneratorInterface)
42+
* @param string $route The name of the route
43+
* @param mixed $parameters An array of parameters
44+
* @param int $referenceType The type of reference (one of the constants in UrlGeneratorInterface)
4545
*
4646
* @return string The generated URL
4747
*

Templating/Helper/RouterHelper.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ public function __construct(UrlGeneratorInterface $router)
3636
/**
3737
* Generates a URL from the given parameters.
3838
*
39-
* @param string $name The name of the route
40-
* @param mixed $parameters An array of parameters
41-
* @param bool|string $referenceType The type of reference (one of the constants in UrlGeneratorInterface)
39+
* @param string $name The name of the route
40+
* @param mixed $parameters An array of parameters
41+
* @param int $referenceType The type of reference (one of the constants in UrlGeneratorInterface)
4242
*
4343
* @return string The generated URL
4444
*

0 commit comments

Comments
 (0)