@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | * Construct a Builder |
| 95 | 95 | * |
| 96 | 96 | * @param DocumentManager $dm |
| 97 | - * @param string[]|string|null $documentName (optional) an array of document names, the document name, or none |
|
| 97 | + * @param string|null $documentName (optional) an array of document names, the document name, or none |
|
| 98 | 98 | */ |
| 99 | 99 | public function __construct(DocumentManager $dm, $documentName = null) |
| 100 | 100 | { |
@@ -685,7 +685,6 @@ discard block |
||
| 685 | 685 | * |
| 686 | 686 | * @see Expr::geoWithinPolygon() |
| 687 | 687 | * @see http://docs.mongodb.org/manual/reference/operator/polygon/ |
| 688 | - * @param array $point,... Three or more point coordinate tuples |
|
| 689 | 688 | * @return $this |
| 690 | 689 | */ |
| 691 | 690 | public function geoWithinPolygon(/* array($x1, $y1), ... */) |
@@ -1077,7 +1076,7 @@ discard block |
||
| 1077 | 1076 | * @see Expr::mod() |
| 1078 | 1077 | * @see http://docs.mongodb.org/manual/reference/operator/mod/ |
| 1079 | 1078 | * @param float|integer $divisor |
| 1080 | - * @param float|integer $remainder |
|
| 1079 | + * @param integer $remainder |
|
| 1081 | 1080 | * @return $this |
| 1082 | 1081 | */ |
| 1083 | 1082 | public function mod($divisor, $remainder = 0) |
@@ -1241,7 +1240,7 @@ discard block |
||
| 1241 | 1240 | * If a custom callable is used, its signature should conform to the default |
| 1242 | 1241 | * Closure defined in {@link ReferencePrimer::__construct()}. |
| 1243 | 1242 | * |
| 1244 | - * @param boolean|callable $primer |
|
| 1243 | + * @param boolean $primer |
|
| 1245 | 1244 | * @return $this |
| 1246 | 1245 | * @throws \InvalidArgumentException If $primer is not boolean or callable |
| 1247 | 1246 | */ |
@@ -1635,7 +1634,7 @@ discard block |
||
| 1635 | 1634 | * field name (key) and order (value) pairs. |
| 1636 | 1635 | * |
| 1637 | 1636 | * @param array|string $fieldName Field name or array of field/order pairs |
| 1638 | - * @param int|string $order Field order (if one field is specified) |
|
| 1637 | + * @param integer $order Field order (if one field is specified) |
|
| 1639 | 1638 | * @return $this |
| 1640 | 1639 | */ |
| 1641 | 1640 | public function sort($fieldName, $order = 1) |
@@ -566,7 +566,6 @@ discard block |
||
| 566 | 566 | * |
| 567 | 567 | * @see Builder::geoWithinPolygon() |
| 568 | 568 | * @see http://docs.mongodb.org/manual/reference/operator/polygon/ |
| 569 | - * @param array $point,... Three or more point coordinate tuples |
|
| 570 | 569 | * @return $this |
| 571 | 570 | * @throws \InvalidArgumentException if less than three points are given |
| 572 | 571 | */ |
@@ -802,7 +801,7 @@ discard block |
||
| 802 | 801 | * @see Builder::mod() |
| 803 | 802 | * @see http://docs.mongodb.org/manual/reference/operator/mod/ |
| 804 | 803 | * @param float|integer $divisor |
| 805 | - * @param float|integer $remainder |
|
| 804 | + * @param integer $remainder |
|
| 806 | 805 | * @return $this |
| 807 | 806 | */ |
| 808 | 807 | public function mod($divisor, $remainder = 0) |