@@ -224,6 +224,9 @@ discard block |
||
| 224 | 224 | $class->addIndex($keys, $options); |
| 225 | 225 | } |
| 226 | 226 | |
| 227 | + /** |
|
| 228 | + * @param string $type |
|
| 229 | + */ |
|
| 227 | 230 | private function addEmbedMapping(ClassMetadataInfo $class, $embed, $type) |
| 228 | 231 | { |
| 229 | 232 | $attributes = $embed->attributes(); |
@@ -261,6 +264,9 @@ discard block |
||
| 261 | 264 | $this->addFieldMapping($class, $mapping); |
| 262 | 265 | } |
| 263 | 266 | |
| 267 | + /** |
|
| 268 | + * @param string $type |
|
| 269 | + */ |
|
| 264 | 270 | private function addReferenceMapping(ClassMetadataInfo $class, $reference, $type) |
| 265 | 271 | { |
| 266 | 272 | $cascade = array_keys((array) $reference->cascade); |
@@ -570,7 +570,7 @@ |
||
| 570 | 570 | /** |
| 571 | 571 | * @param string $documentName |
| 572 | 572 | * |
| 573 | - * @return array |
|
| 573 | + * @return string |
|
| 574 | 574 | */ |
| 575 | 575 | private function runShardCollectionCommand($documentName) |
| 576 | 576 | { |
@@ -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) |