Completed
Pull Request — master (#1325)
by Jefersson
09:09
created
lib/Doctrine/ODM/MongoDB/Query/QueryExpressionVisitor.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -117,7 +117,6 @@  discard block
 block discarded – undo
117 117
      * Converts a composite expression into the target query language output.
118 118
      *
119 119
      * @see ExpressionVisitor::walkCompositeExpression()
120
-     * @param CompositeExpression $expr
121 120
      * @return \Doctrine\ODM\MongoDB\Query\Expr
122 121
      */
123 122
     public function walkCompositeExpression(CompositeExpression $compositeExpr)
@@ -141,7 +140,7 @@  discard block
 block discarded – undo
141 140
      *
142 141
      * @see ExpressionVisitor::walkValue()
143 142
      * @param Value $value
144
-     * @return mixed
143
+     * @return string
145 144
      */
146 145
     public function walkValue(Value $value)
147 146
     {
Please login to merge, or discard this patch.
lib/Doctrine/ODM/MongoDB/Tools/Console/Command/Schema/UpdateCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
     /**
46 46
      * @param InputInterface $input
47 47
      * @param OutputInterface $output
48
-     * @return int|null|void
48
+     * @return integer
49 49
      */
50 50
     protected function execute(InputInterface $input, OutputInterface $output)
51 51
     {
Please login to merge, or discard this patch.
lib/Doctrine/ODM/MongoDB/Tools/DocumentGenerator.php 1 patch
Doc Comments   +14 added lines patch added patch discarded remove patch
@@ -331,6 +331,7 @@  discard block
 block discarded – undo
331 331
 
332 332
     /**
333 333
      * Should an existing document be backed up if it already exists?
334
+     * @param boolean $bool
334 335
      */
335 336
     public function setBackupExisting($bool)
336 337
     {
@@ -770,6 +771,10 @@  discard block
 block discarded – undo
770 771
         return implode("\n", $lines);
771 772
     }
772 773
 
774
+    /**
775
+     * @param string $type
776
+     * @param string $defaultValue
777
+     */
773 778
     private function generateDocumentStubMethod(ClassMetadataInfo $metadata, $type, $fieldName, $typeHint = null, $defaultValue = null)
774 779
     {
775 780
         // Add/remove methods should use the singular form of the field name
@@ -954,6 +959,9 @@  discard block
 block discarded – undo
954 959
         return implode("\n", $lines);
955 960
     }
956 961
 
962
+    /**
963
+     * @param integer $type
964
+     */
957 965
     private function getInheritanceTypeString($type)
958 966
     {
959 967
         switch ($type) {
@@ -971,6 +979,9 @@  discard block
 block discarded – undo
971 979
         }
972 980
     }
973 981
 
982
+    /**
983
+     * @param integer $policy
984
+     */
974 985
     private function getChangeTrackingPolicyString($policy)
975 986
     {
976 987
         switch ($policy) {
@@ -988,6 +999,9 @@  discard block
 block discarded – undo
988 999
         }
989 1000
     }
990 1001
 
1002
+    /**
1003
+     * @param string $type
1004
+     */
991 1005
     private function getIdGeneratorTypeString($type)
992 1006
     {
993 1007
         switch ($type) {
Please login to merge, or discard this patch.
lib/Doctrine/ODM/MongoDB/UnitOfWork.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2811,7 +2811,7 @@
 block discarded – undo
2811 2811
      * @param array $data The data for the document.
2812 2812
      * @param array $hints Any hints to account for during reconstitution/lookup of the document.
2813 2813
      * @param object The document to be hydrated into in case of creation
2814
-     * @return object The document instance.
2814
+     * @return callable|null The document instance.
2815 2815
      * @internal Highly performance-sensitive method.
2816 2816
      */
2817 2817
     public function getOrCreateDocument($className, $data, &$hints = array(), $document = null)
Please login to merge, or discard this patch.
lib/Doctrine/ODM/MongoDB/Mapping/ClassMetadataInfo.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -841,7 +841,7 @@
 block discarded – undo
841 841
     /**
842 842
      * Gets the ReflectionProperties of the mapped class.
843 843
      *
844
-     * @return array An array of ReflectionProperty instances.
844
+     * @return \ReflectionProperty[] An array of ReflectionProperty instances.
845 845
      */
846 846
     public function getReflectionProperties()
847 847
     {
Please login to merge, or discard this patch.