Skip to content

Commit f505f18

Browse files
[Routing] fix typo
1 parent 16369f2 commit f505f18

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/Fixtures/dumper/url_matcher4.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function match($rawPathinfo)
6262
not_get_and_head:
6363

6464
// post_and_head
65-
if ('/post_and_get' === $pathinfo) {
65+
if ('/post_and_head' === $pathinfo) {
6666
if (!in_array($requestMethod, array('POST', 'HEAD'))) {
6767
$allow = array_merge($allow, array('POST', 'HEAD'));
6868
goto not_post_and_head;

Tests/Matcher/Dumper/PhpMatcherDumperTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ public function getRouteCollections()
354354
array('GET', 'HEAD')
355355
));
356356
$headMatchCasesCollection->add('post_and_head', new Route(
357-
'/post_and_get',
357+
'/post_and_head',
358358
array(),
359359
array(),
360360
array(),

0 commit comments

Comments
 (0)