@@ -7,7 +7,7 @@ |
||
7 | 7 | class UnsupportedDatabaseTypeException extends \Exception implements Exception |
8 | 8 | { |
9 | 9 | /** |
10 | - * @param array $duplicates |
|
10 | + * @param \Doctrine\Common\Persistence\ObjectManager $objectManager |
|
11 | 11 | */ |
12 | 12 | public function __construct($objectManager) |
13 | 13 | { |
@@ -51,6 +51,9 @@ discard block |
||
51 | 51 | new DoctrineWriter($em, 'DdeboerPort:TestEntity'); |
52 | 52 | } |
53 | 53 | |
54 | + /** |
|
55 | + * @return \Doctrine\Common\Persistence\ObjectManager |
|
56 | + */ |
|
54 | 57 | protected function getEntityManager() |
55 | 58 | { |
56 | 59 | $em = $this->getMockBuilder('Doctrine\ORM\EntityManager') |
@@ -136,6 +139,9 @@ discard block |
||
136 | 139 | } |
137 | 140 | |
138 | 141 | |
142 | + /** |
|
143 | + * @return \Doctrine\Common\Persistence\ObjectManager |
|
144 | + */ |
|
139 | 145 | protected function getMongoDocumentManager() |
140 | 146 | { |
141 | 147 | $dm = $this->getMockBuilder('Doctrine\ODM\MongoDB\DocumentManager') |