8000 merged branch Ph3nol/ph3-routing-component-fixes (PR #4486) · tonypiper/symfony@2faba01 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2faba01

Browse files
committed
merged branch Ph3nol/ph3-routing-component-fixes (PR symfony#4486)
Commits ------- a6d32de UrlMatcher class indent and doc fixes Discussion ---------- [Routing] PHP CS and doc minor fixes Bug fix: no Feature addition: no Backwards compatibility break: no Symfony2 tests pass: yes --------------------------------------------------------------------------- by travisbot at 2012-06-02T12:03:36Z This pull request [passes](http://travis-ci.org/symfony/symfony/builds/1507232) (merged a6d32de into 1541fe2).
2 parents 29542c1 + a6d32de commit 2faba01

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/Symfony/Component/Routing/Matcher/UrlMatcher.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,8 +177,16 @@ protected function handleRouteRequirements($pathinfo, $name, Route $route)
177177
$status = $scheme && $scheme !== $this->context->getScheme() ? self::REQUIREMENT_MISMATCH : self::REQUIREMENT_MATCH;
178178

179179
return array($status, null);
180-
}
180+
}
181181

182+
/**
183+
* Get merged default parameters.
184+
*
185+
* @param array $params The parameters
186+
* @param array $defaults The defaults
187+
*
188+
* @return array Merged default parameters
189+
*/
182190
protected function mergeDefaults($params, $defaults)
183191
{
184192
$parameters = $defaults;

0 commit comments

Comments
 (0)
0