Skip to content
Permalink
Browse files

Fix typos.

  • Loading branch information...
markstory committed Jul 14, 2014
1 parent a2a4b26 commit 799da32f40a4a2d342808df2e975c451f7965585
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/Routing/Route/Route.php
@@ -411,8 +411,8 @@ public function match(array $url, array $context = []) {
$hostOptions = array_intersect_key($url, $context);
// Check for properties that will cause and
// absoulte url. Copy the other properties over.
// Check for properties that will cause an
// absolute url. Copy the other properties over.
if (
isset($hostOptions['_scheme']) ||
isset($hostOptions['_port']) ||
@@ -488,7 +488,7 @@ public function match(array $url, array $context = []) {
return false;
}
//check patterns for routed params
// check patterns for routed params
if (!empty($this->options)) {
foreach ($this->options as $key => $pattern) {
if (isset($url[$key]) && !preg_match('#^' . $pattern . '$#', $url[$key])) {

0 comments on commit 799da32

Please sign in to comment.
You can’t perform that action at this time.