merged branch jpauli/patch-2 (PR #2854)
Commits
-------
7fadd08
static::$privateField is an OOP non-sense (extending the class is not possible)
Discussion
----------
static::$privateField is an OOP non-sense (extending the class is not possible)
static::$privateField is an OOP non-sense (extending the class is not possible)
This commit is contained in:
commit
eedd856f6d
@ -285,11 +285,11 @@ class Route
|
||||
|
||||
$class = $this->getOption('compiler_class');
|
||||
|
||||
if (!isset(static::$compilers[$class])) {
|
||||
static::$compilers[$class] = new $class;
|
||||
if (!isset(self::$compilers[$class])) {
|
||||
self::$compilers[$class] = new $class;
|
||||
}
|
||||
|
||||
return $this->compiled = static::$compilers[$class]->compile($this);
|
||||
return $this->compiled = self::$compilers[$class]->compile($this);
|
||||
}
|
||||
|
||||
private function sanitizeRequirement($key, $regex)
|
||||
|
Reference in New Issue
Block a user