8000 Fix typos · symfony/symfony@80f993f · GitHub
[go: up one dir, main page]

Skip to content

Commit 80f993f

Browse files
Fix typos
1 parent 1192918 commit 80f993f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/Symfony/Component/Routing/Loader/Configurator/Traits/AddTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ final public function add($name, $path)
3737
$parentConfigurator = $this instanceof RouteConfigurator ? $this->parentConfigurator : null;
3838
$this->collection->add($this->name.$name, $route = new Route($path));
3939

40-
return new RouteConfigurator($this->collection, $route, $parentConfigurator);
40+
return new RouteConfigurator($this->collection, $route, ' 8000 ', $parentConfigurator);
4141
}
4242

4343
/**

src/Symfony/Component/Routing/Matcher/Dumper/PhpMatcherDumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ private function compileRoute(Route $route, $name, $supportsRedirections, $paren
347347
} else {
348348
$code .= <<<EOF
349349
\$requiredSchemes = $schemes;
350-
if (!isset(\$requiredSchemes[\$this->context->getScheme()])) {
350+
if (!isset(\$requiredSchemes[\$context->getScheme()])) {
351351
if ('GET' !== \$canonicalMethod) {
352352
goto $gotoname;
353353
}

src/Symfony/Component/Routing/Tests/Fixtures/dumper/url_matcher2.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ public function match($rawPathinfo)
343343
if ('/secure' === $pathinfo) {
344344
$ret = array('_route' => 'secure');
345345
$requiredSchemes = array ( 'https' => 0,);
346-
if (!isset($requiredSchemes[$this->context->getScheme()])) {
346+
if (!isset($requiredSchemes[$context->getScheme()])) {
347347
if ('GET' !== $canonicalMethod) {
348348
goto not_secure;
349349
}
@@ -359,7 +359,7 @@ public function match($rawPathinfo)
359359
if ('/nonsecure' === $pathinfo) {
360360
$ret = array('_route' => 'nonsecure');
361361
$requiredSchemes = array ( 'http' => 0,);
362-
if (!isset($requiredSchemes[$this->context->getScheme()])) {
362+
if (!isset($requiredSchemes[$context->getScheme()])) {
363363
if ('GET' !== $canonicalMethod) {
364364
goto not_nonsecure;
365365
}

0 commit comments

Comments
 (0)
0