Completed
Pull Request — master (#1219)
by Maciej
12:21
created
lib/Doctrine/ODM/MongoDB/UnitOfWork.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2630,7 +2630,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.
ODM/MongoDB/PersistentCollection/DefaultPersistentCollectionGenerator.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -84,6 +84,11 @@
 block discarded – undo
84 84
         return $className;
85 85
     }
86 86
 
87
+    /**
88
+     * @param string $for
89
+     * @param string $targetFqcn
90
+     * @param string|false $fileName
91
+     */
87 92
     private function generateCollectionClass($for, $targetFqcn, $fileName)
88 93
     {
89 94
         $exploded = explode('\\', $targetFqcn);
Please login to merge, or discard this patch.