mirror of
https://github.com/Aviortheking/DeltaCMS.git
synced 2025-04-22 10:52:11 +00:00
Added type on getEm() function
This commit is contained in:
parent
9ddbacd4e2
commit
6f6bfa5e7e
@ -94,8 +94,9 @@ class DeltaCMS
|
||||
return $this->settings->cache->enabled == "true";
|
||||
}
|
||||
|
||||
/** @var \Doctrine\ORM\EntityManager $em */
|
||||
private $em;
|
||||
public function getEm()
|
||||
public function getEm(): EntityManager
|
||||
{
|
||||
if (!isset($this->em)) {
|
||||
$config = Setup::createAnnotationMetadataConfiguration(array(
|
||||
|
Loading…
x
Reference in New Issue
Block a user