@@ -26,6 +26,9 @@ |
||
26 | 26 | |
27 | 27 | private $documentManager; |
28 | 28 | |
29 | + /** |
|
30 | + * @param \Doctrine\ODM\CouchDB\DocumentManager $documentManager |
|
31 | + */ |
|
29 | 32 | function __construct($document, $documentManager) |
30 | 33 | { |
31 | 34 | $this->document = $document; |
@@ -41,6 +41,7 @@ |
||
41 | 41 | |
42 | 42 | /** |
43 | 43 | * {@inheritDoc} |
44 | + * @param string[] $locator |
|
44 | 45 | */ |
45 | 46 | public function __construct($locator, $fileExtension = self::DEFAULT_FILE_EXTENSION) |
46 | 47 | { |
@@ -38,6 +38,9 @@ |
||
38 | 38 | |
39 | 39 | private $metadataResolver; |
40 | 40 | |
41 | + /** |
|
42 | + * @param ClassMetadataFactory $metadataFactory |
|
43 | + */ |
|
41 | 44 | public function __construct($metadataFactory, $metadataResolver) |
42 | 45 | { |
43 | 46 | $this->metadataFactory = $metadataFactory; |
@@ -145,6 +145,9 @@ |
||
145 | 145 | $this->metadataResolver); |
146 | 146 | } |
147 | 147 | |
148 | + /** |
|
149 | + * @param string $documentName |
|
150 | + */ |
|
148 | 151 | private function assertValidDocumentType($documentName, $document, $type) |
149 | 152 | { |
150 | 153 | if ($documentName && !($document instanceof $documentName)) { |
@@ -46,6 +46,9 @@ |
||
46 | 46 | return $this->logger; |
47 | 47 | } |
48 | 48 | |
49 | + /** |
|
50 | + * @return string |
|
51 | + */ |
|
49 | 52 | public function getTestDatabase() |
50 | 53 | { |
51 | 54 | return TestUtil::getTestDatabase(); |
@@ -41,6 +41,9 @@ |
||
41 | 41 | }); |
42 | 42 | } |
43 | 43 | |
44 | + /** |
|
45 | + * @param \Closure $closure |
|
46 | + */ |
|
44 | 47 | public function wrapRemove($closure) |
45 | 48 | { |
46 | 49 | $group1 = new \Doctrine\Tests\Models\CMS\CmsGroup(); |
@@ -65,6 +65,9 @@ |
||
65 | 65 | return new \Doctrine\ODM\CouchDB\Mapping\Driver\AnnotationDriver($reader); |
66 | 66 | } |
67 | 67 | |
68 | + /** |
|
69 | + * @param string $entityClassName |
|
70 | + */ |
|
68 | 71 | protected function ensureIsLoaded($entityClassName) |
69 | 72 | { |
70 | 73 | new $entityClassName; |
@@ -18,7 +18,7 @@ |
||
18 | 18 | } |
19 | 19 | |
20 | 20 | /** |
21 | - * @return NativeQuery |
|
21 | + * @return Query |
|
22 | 22 | */ |
23 | 23 | protected function createDoctrineViewQuery() |
24 | 24 | { |
@@ -41,6 +41,7 @@ |
||
41 | 41 | |
42 | 42 | /** |
43 | 43 | * {@inheritDoc} |
44 | + * @param string[] $locator |
|
44 | 45 | */ |
45 | 46 | public function __construct($locator, $fileExtension = self::DEFAULT_FILE_EXTENSION) |
46 | 47 | { |