Code improvements (#1649)
* use global namespace for faster lookups * phpstan level 5
This commit is contained in:
@@ -50,7 +50,7 @@ class DoctrineCompilerPass implements CompilerPassInterface
|
||||
);
|
||||
}
|
||||
|
||||
if (!in_array($engine, $this->allowedEngines)) {
|
||||
if (!\in_array($engine, $this->allowedEngines)) {
|
||||
throw new \Exception(
|
||||
'Unsupported database engine: ' . $engine . '. Kimai only supports one of: ' .
|
||||
implode(', ', $this->allowedEngines)
|
||||
|
||||
Reference in New Issue
Block a user