@@ -148,6 +148,10 @@ |
||
| 148 | 148 | $this->generateCollectionClass($class, $className, $fileName); |
| 149 | 149 | } |
| 150 | 150 | |
| 151 | + /** |
|
| 152 | + * @param string $targetFqcn |
|
| 153 | + * @param string|false $fileName |
|
| 154 | + */ |
|
| 151 | 155 | private function generateCollectionClass($for, $targetFqcn, $fileName) |
| 152 | 156 | { |
| 153 | 157 | $exploded = explode('\\', $targetFqcn); |
@@ -2630,7 +2630,7 @@ discard block |
||
| 2630 | 2630 | * INTERNAL: |
| 2631 | 2631 | * Unschedules a collection from being deleted when this UnitOfWork commits. |
| 2632 | 2632 | * |
| 2633 | - * @param \Doctrine\ODM\MongoDB\PersistentCollectionInterface $coll |
|
| 2633 | + * @param PersistentCollectionInterface $coll |
|
| 2634 | 2634 | */ |
| 2635 | 2635 | public function unscheduleCollectionDeletion(PersistentCollectionInterface $coll) |
| 2636 | 2636 | { |
@@ -2668,7 +2668,7 @@ discard block |
||
| 2668 | 2668 | * INTERNAL: |
| 2669 | 2669 | * Unschedules a collection from being updated when this UnitOfWork commits. |
| 2670 | 2670 | * |
| 2671 | - * @param \Doctrine\ODM\MongoDB\PersistentCollectionInterface $coll |
|
| 2671 | + * @param PersistentCollectionInterface $coll |
|
| 2672 | 2672 | */ |
| 2673 | 2673 | public function unscheduleCollectionUpdate(PersistentCollectionInterface $coll) |
| 2674 | 2674 | { |
@@ -2849,7 +2849,7 @@ discard block |
||
| 2849 | 2849 | * @param array $data The data for the document. |
| 2850 | 2850 | * @param array $hints Any hints to account for during reconstitution/lookup of the document. |
| 2851 | 2851 | * @param object The document to be hydrated into in case of creation |
| 2852 | - * @return object The document instance. |
|
| 2852 | + * @return callable|null The document instance. |
|
| 2853 | 2853 | * @internal Highly performance-sensitive method. |
| 2854 | 2854 | */ |
| 2855 | 2855 | public function getOrCreateDocument($className, $data, &$hints = array(), $document = null) |