- Quickfix on context name
This commit is contained in:
parent
5182ba19bc
commit
7d2bb8d407
|
@ -34,7 +34,7 @@ class Opcache implements Cache {
|
|||
|
||||
$compiledContext = $this->compiled[$viewPath];
|
||||
|
||||
$fullName = isset($compiledContext['namespace']) ? "\\{$compiledContext['namespace']}\\{$compiledContext['classname']}" : $compiledContext['classname'];
|
||||
$fullName = isset($compiledContext['namespace']) ? "\\{$compiledContext['namespace']}\\{$compiledContext['classname']}" : ($compiledContext['classname'] ?? $viewPath);
|
||||
|
||||
return new $fullName(...$arguments);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue