Skip to content

Commit 12b9ea8

Browse files
committed
fixed some deprecation messages
1 parent d6687bb commit 12b9ea8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Generator/UrlGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public function generate($name, $parameters = array(), $referenceType = self::AB
127127
protected function doGenerate($variables, $defaults, $requirements, $tokens, $parameters, $name, $referenceType, $hostTokens, array $requiredSchemes = array())
128128
{
129129
if (is_bool($referenceType) || is_string($referenceType)) {
130-
@trigger_error('The hardcoded value you are using for the $referenceType argument of the '.__CLASS__.'::generate method is deprecated since version 2.8 and will not be supported anymore in 3.0. Use the constants defined in the UrlGeneratorInterface instead.', E_USER_DEPRECATED);
130+
@trigger_error('The hardcoded value you are using for the $referenceType argument of the '.__CLASS__.'::generate method is deprecated since Symfony 2.8 and will not be supported anymore in 3.0. Use the constants defined in the UrlGeneratorInterface instead.', E_USER_DEPRECATED);
131131

132132
if (true === $referenceType) {
133133
$referenceType = self::ABSOLUTE_URL;

0 commit comments

Comments
 (0)