git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit a03249dd authored by mmn's avatar mmn

No reason to have makeRegex protected

parent 8a002e98
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment