@@ -804,7 +804,7 @@ |
||
| 804 | 804 | * @see Builder::mod() |
| 805 | 805 | * @see http://docs.mongodb.org/manual/reference/operator/mod/ |
| 806 | 806 | * @param float|integer $divisor |
| 807 | - * @param float|integer $remainder |
|
| 807 | + * @param integer $remainder |
|
| 808 | 808 | * @return $this |
| 809 | 809 | */ |
| 810 | 810 | public function mod($divisor, $remainder = 0) |
@@ -362,6 +362,7 @@ |
||
| 362 | 362 | * query array, provided they exist and are not null. |
| 363 | 363 | * |
| 364 | 364 | * @param string ...$keys One or more option keys to be read |
| 365 | + * @param string[] $keys |
|
| 365 | 366 | * @return array |
| 366 | 367 | */ |
| 367 | 368 | private function getQueryOptions(string ...$keys) |
@@ -482,7 +482,7 @@ |
||
| 482 | 482 | * @see Expr::mod() |
| 483 | 483 | * @see http://docs.mongodb.org/manual/reference/operator/mod/ |
| 484 | 484 | * @param float|integer $divisor |
| 485 | - * @param float|integer $remainder |
|
| 485 | + * @param integer $remainder |
|
| 486 | 486 | * @return $this |
| 487 | 487 | */ |
| 488 | 488 | public function mod($divisor, $remainder = 0) |
@@ -1005,7 +1005,7 @@ discard block |
||
| 1005 | 1005 | /** |
| 1006 | 1006 | * Gets the ReflectionProperties of the mapped class. |
| 1007 | 1007 | * |
| 1008 | - * @return array An array of ReflectionProperty instances. |
|
| 1008 | + * @return \ReflectionProperty[] An array of ReflectionProperty instances. |
|
| 1009 | 1009 | */ |
| 1010 | 1010 | public function getReflectionProperties() |
| 1011 | 1011 | { |
@@ -1319,6 +1319,7 @@ discard block |
||
| 1319 | 1319 | * {@inheritDoc} |
| 1320 | 1320 | * |
| 1321 | 1321 | * Checks whether the class has a mapped association (embed or reference) with the given field name. |
| 1322 | + * @param string $fieldName |
|
| 1322 | 1323 | */ |
| 1323 | 1324 | public function hasAssociation($fieldName) |
| 1324 | 1325 | { |
@@ -1553,7 +1554,7 @@ discard block |
||
| 1553 | 1554 | * |
| 1554 | 1555 | * @param string $dbFieldName |
| 1555 | 1556 | * |
| 1556 | - * @return array |
|
| 1557 | + * @return string |
|
| 1557 | 1558 | * @throws MappingException |
| 1558 | 1559 | */ |
| 1559 | 1560 | public function getFieldMappingByDbFieldName($dbFieldName) |
@@ -2066,7 +2067,7 @@ discard block |
||
| 2066 | 2067 | * - reflClass (ReflectionClass) |
| 2067 | 2068 | * - reflFields (ReflectionProperty array) |
| 2068 | 2069 | * |
| 2069 | - * @return array The names of all the fields that should be serialized. |
|
| 2070 | + * @return string[] The names of all the fields that should be serialized. |
|
| 2070 | 2071 | */ |
| 2071 | 2072 | public function __sleep() |
| 2072 | 2073 | { |
@@ -219,6 +219,9 @@ discard block |
||
| 219 | 219 | $class->addIndex($keys, $options); |
| 220 | 220 | } |
| 221 | 221 | |
| 222 | + /** |
|
| 223 | + * @param string $type |
|
| 224 | + */ |
|
| 222 | 225 | private function addEmbedMapping(ClassMetadata $class, $embed, $type) |
| 223 | 226 | { |
| 224 | 227 | $attributes = $embed->attributes(); |
@@ -256,6 +259,9 @@ discard block |
||
| 256 | 259 | $this->addFieldMapping($class, $mapping); |
| 257 | 260 | } |
| 258 | 261 | |
| 262 | + /** |
|
| 263 | + * @param string $type |
|
| 264 | + */ |
|
| 259 | 265 | private function addReferenceMapping(ClassMetadata $class, $reference, $type) |
| 260 | 266 | { |
| 261 | 267 | $cascade = array_keys((array) $reference->cascade); |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | /** |
| 97 | 97 | * Generates a closure capable of initializing a proxy |
| 98 | 98 | * |
| 99 | - * @param \Doctrine\Common\Persistence\Mapping\ClassMetadata $classMetadata |
|
| 99 | + * @param \Doctrine\ODM\MongoDB\Mapping\ClassMetadata $classMetadata |
|
| 100 | 100 | * @param \Doctrine\ODM\MongoDB\Persisters\DocumentPersister $documentPersister |
| 101 | 101 | * @param \ReflectionProperty $reflectionId |
| 102 | 102 | * |
@@ -178,7 +178,7 @@ discard block |
||
| 178 | 178 | /** |
| 179 | 179 | * Generates a closure capable of finalizing a cloned proxy |
| 180 | 180 | * |
| 181 | - * @param \Doctrine\Common\Persistence\Mapping\ClassMetadata $classMetadata |
|
| 181 | + * @param \Doctrine\ODM\MongoDB\Mapping\ClassMetadata $classMetadata |
|
| 182 | 182 | * @param \Doctrine\ODM\MongoDB\Persisters\DocumentPersister $documentPersister |
| 183 | 183 | * @param \ReflectionProperty $reflectionId |
| 184 | 184 | * |