@@ -117,7 +117,6 @@ discard block |
||
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 |
||
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 | { |
@@ -45,7 +45,7 @@ |
||
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 | { |
@@ -331,6 +331,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
||
988 | 999 | } |
989 | 1000 | } |
990 | 1001 | |
1002 | + /** |
|
1003 | + * @param string $type |
|
1004 | + */ |
|
991 | 1005 | private function getIdGeneratorTypeString($type) |
992 | 1006 | { |
993 | 1007 | switch ($type) { |
@@ -2811,7 +2811,7 @@ |
||
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) |
@@ -25,7 +25,6 @@ |
||
25 | 25 | use Doctrine\Common\NotifyPropertyChanged; |
26 | 26 | use Doctrine\Common\PropertyChangedListener; |
27 | 27 | use Doctrine\MongoDB\GridFSFile; |
28 | -use Doctrine\ODM\MongoDB\Event\LifecycleEventArgs; |
|
29 | 28 | use Doctrine\ODM\MongoDB\Hydrator\HydratorFactory; |
30 | 29 | use Doctrine\ODM\MongoDB\Mapping\ClassMetadata; |
31 | 30 | use Doctrine\ODM\MongoDB\PersistentCollection; |
@@ -841,7 +841,7 @@ |
||
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 | { |