@@ -280,6 +280,9 @@ |
||
| 280 | 280 | return Type::convertPHPToDatabaseValue(Expr::convertExpression($expression)); |
| 281 | 281 | } |
| 282 | 282 | |
| 283 | + /** |
|
| 284 | + * @param string $fieldName |
|
| 285 | + */ |
|
| 283 | 286 | private function convertTargetFieldName($fieldName) |
| 284 | 287 | { |
| 285 | 288 | if (is_array($fieldName)) { |
@@ -137,6 +137,9 @@ |
||
| 137 | 137 | return $this; |
| 138 | 138 | } |
| 139 | 139 | |
| 140 | + /** |
|
| 141 | + * @param ClassMetadata $class |
|
| 142 | + */ |
|
| 140 | 143 | protected function prepareFieldName(string $fieldName, ?ClassMetadata $class = null): string |
| 141 | 144 | { |
| 142 | 145 | if (! $class) { |
@@ -443,7 +443,7 @@ |
||
| 443 | 443 | * @see Expr::mod() |
| 444 | 444 | * @see http://docs.mongodb.org/manual/reference/operator/mod/ |
| 445 | 445 | * @param float|int $divisor |
| 446 | - * @param float|int $remainder |
|
| 446 | + * @param integer $remainder |
|
| 447 | 447 | */ |
| 448 | 448 | public function mod($divisor, $remainder = 0): self |
| 449 | 449 | { |
@@ -376,7 +376,7 @@ discard block |
||
| 376 | 376 | * |
| 377 | 377 | * @see http://docs.mongodb.org/manual/meta/aggregation-quick-reference/#aggregation-expressions |
| 378 | 378 | * @see Expr::expression |
| 379 | - * @param mixed|Expr $value |
|
| 379 | + * @param boolean $value |
|
| 380 | 380 | */ |
| 381 | 381 | public function expression($value) |
| 382 | 382 | { |
@@ -945,7 +945,7 @@ discard block |
||
| 945 | 945 | * @see Expr::range |
| 946 | 946 | * @param mixed|Expr $start An integer that specifies the start of the sequence. Can be any valid expression that resolves to an integer. |
| 947 | 947 | * @param mixed|Expr $end An integer that specifies the exclusive upper limit of the sequence. Can be any valid expression that resolves to an integer. |
| 948 | - * @param mixed|Expr $step Optional. An integer that specifies the increment value. Can be any valid expression that resolves to a non-zero integer. Defaults to 1. |
|
| 948 | + * @param integer $step Optional. An integer that specifies the increment value. Can be any valid expression that resolves to a non-zero integer. Defaults to 1. |
|
| 949 | 949 | */ |
| 950 | 950 | public function range($start, $end, $step = 1): self |
| 951 | 951 | { |