diff --git a/lib/Doctrine/ORM/EntityManager.php b/lib/Doctrine/ORM/EntityManager.php index c3535148714..5e0442257d5 100644 --- a/lib/Doctrine/ORM/EntityManager.php +++ b/lib/Doctrine/ORM/EntityManager.php @@ -148,9 +148,9 @@ */ protected function __construct(Connection $conn, Configuration $config, EventManager $eventManager) { - $this->conn = $conn; + $this->conn = $conn; $this->config = $config; - $this->eventManager = $eventManager; + $this->eventManager = $eventManager; $metadataFactoryClassName = $config->getClassMetadataFactoryName(); @@ -290,7 +290,7 @@ public function createQuery($dql = '') { $query = new Query($this); - if ( ! empty($dql)) { + if (!empty($dql)) { $query->setDQL($dql); }