@@ -40,6 +40,10 @@ |
||
40 | 40 | |
41 | 41 | private $documentManager; |
42 | 42 | |
43 | + /** |
|
44 | + * @param ClassMetadataFactory $metadataFactory |
|
45 | + * @param \Doctrine\ODM\CouchDB\DocumentManager $documentManager |
|
46 | + */ |
|
43 | 47 | public function __construct($metadataFactory, $metadataResolver, $documentManager = null) |
44 | 48 | { |
45 | 49 | $this->metadataFactory = $metadataFactory; |
@@ -147,6 +147,9 @@ |
||
147 | 147 | $dm); |
148 | 148 | } |
149 | 149 | |
150 | + /** |
|
151 | + * @param string $documentName |
|
152 | + */ |
|
150 | 153 | private function assertValidDocumentType($documentName, $document, $type) |
151 | 154 | { |
152 | 155 | if ($documentName && !($document instanceof $documentName)) { |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Doctrine\Tests\Models\Embedded\Embedded; |
6 | 6 | use Doctrine\Tests\Models\Embedded\EmbeddedReference; |
7 | 7 | use Doctrine\Tests\Models\Embedded\Embedder; |
8 | -use Doctrine\Tests\Models\Embedded\Nested; |
|
9 | 8 | |
10 | 9 | class EmbedManyTest extends \Doctrine\Tests\ODM\CouchDB\CouchDBFunctionalTestCase |
11 | 10 | { |