Skip to content

Commit 785e4e6

Browse files
committed
Fixed some typos
1 parent 0614b37 commit 785e4e6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Matcher/Dumper/PhpMatcherDumper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ private function compileRoute(Route $route, $name, $supportsRedirections, $paren
278278

279279
$gotoname = 'not_'.preg_replace('/[^A-Za-z0-9_]/', '', $name);
280280

281-
// the offset where the return value is appended below, with indendation
281+
// the offset where the return value is appended below, with indentation
282282
$retOffset = 12 + \strlen($code);
283283

284284
// optimize parameters array

Tests/RouteCollectionBuilderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ public function providePrefixTests()
256256
// shows that a prefix will always be given the starting slash
257257
$tests[] = ['0', '/foo', '/0/foo'];
258258

259-
// spaces are ok, and double slahses at the end are cleaned
259+
// spaces are ok, and double slashes at the end are cleaned
260260
$tests[] = ['/ /', '/foo', '/ /foo'];
261261

262262
return $tests;

0 commit comments

Comments
 (0)