You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// We do this for BC; to be removed if _scheme is not supported anymore
194
+
$referenceType = self::ABSOLUTE_URL;
195
+
$scheme = $req;
196
+
}
197
197
198
-
if ($hostTokens) {
199
-
$routeHost = '';
200
-
foreach ($hostTokensas$token) {
201
-
if ('variable' === $token[0]) {
202
-
if (null !== $this->strictRequirements && !preg_match('#^'.$token[2].'$#i', $mergedParams[$token[3]])) {
203
-
$message = sprintf('Parameter "%s" for route "%s" must match "%s" ("%s" given) to generate a corresponding URL.', $token[3], $name, $token[2], $mergedParams[$token[3]]);
204
-
205
-
if ($this->strictRequirements) {
206
-
thrownewInvalidParameterException($message);
207
-
}
198
+
if ($hostTokens) {
199
+
$routeHost = '';
200
+
foreach ($hostTokensas$token) {
201
+
if ('variable' === $token[0]) {
202
+
if (null !== $this->strictRequirements && !preg_match('#^'.$token[2].'$#i', $mergedParams[$token[3]])) {
203
+
$message = sprintf('Parameter "%s" for route "%s" must match "%s" ("%s" given) to generate a corresponding URL.', $token[3], $name, $token[2], $mergedParams[$token[3]]);
0 commit comments