Fix easy errors found by PHPStan

[MAILPOET-2588]
This commit is contained in:
Jan Jakeš
2019-12-19 14:19:09 +01:00
committed by amine-mp
parent 27a842b037
commit 25fe3aba54
9 changed files with 12 additions and 6 deletions

View File

@@ -41,7 +41,7 @@ class DoctrinePanel implements IBarPanel {
}
static function init(EntityManagerInterface $entity_manager) {
Debugger::getBar()->addPanel(new static($entity_manager->getConnection()->getConfiguration()));
Debugger::getBar()->addPanel(new DoctrinePanel($entity_manager->getConnection()->getConfiguration()));
}
protected function formatSql($sql) {