No reason to have makeRegex protected

This commit is contained in:
Mikael Nordfeldth 2015-06-12 17:15:39 +02:00
parent 8a002e98bc
commit a03249dd99
1 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ class URLMapper
}
}
$regex = $this->makeRegex($path, $paramPatterns);
$regex = self::makeRegex($path, $paramPatterns);
$this->variables[] = array($args, $regex, $paramNames);
@ -207,7 +207,7 @@ class URLMapper
return $match['name'];
}
protected function makeRegex($path, $paramPatterns)
static function makeRegex($path, $paramPatterns)
{
$pr = new PatternReplacer($paramPatterns);