@@ -983,7 +983,7 @@ discard block |
||
| 983 | 983 | * @see Expr::mod() |
| 984 | 984 | * @see http://docs.mongodb.org/manual/reference/operator/mod/ |
| 985 | 985 | * @param float|int $divisor |
| 986 | - * @param float|int $remainder |
|
| 986 | + * @param integer $remainder |
|
| 987 | 987 | */ |
| 988 | 988 | public function mod($divisor, $remainder = 0): self |
| 989 | 989 | { |
@@ -1137,7 +1137,7 @@ discard block |
||
| 1137 | 1137 | * If a custom callable is used, its signature should conform to the default |
| 1138 | 1138 | * Closure defined in {@link ReferencePrimer::__construct()}. |
| 1139 | 1139 | * |
| 1140 | - * @param bool|callable $primer |
|
| 1140 | + * @param boolean $primer |
|
| 1141 | 1141 | * @throws \InvalidArgumentException If $primer is not boolean or callable. |
| 1142 | 1142 | */ |
| 1143 | 1143 | public function prime($primer = true): self |
@@ -1476,7 +1476,7 @@ discard block |
||
| 1476 | 1476 | * field name (key) and order (value) pairs. |
| 1477 | 1477 | * |
| 1478 | 1478 | * @param array|string $fieldName Field name or array of field/order pairs |
| 1479 | - * @param int|string $order Field order (if one field is specified) |
|
| 1479 | + * @param integer $order Field order (if one field is specified) |
|
| 1480 | 1480 | */ |
| 1481 | 1481 | public function sort($fieldName, $order = 1): self |
| 1482 | 1482 | { |
@@ -751,7 +751,7 @@ |
||
| 751 | 751 | * @see Builder::mod() |
| 752 | 752 | * @see http://docs.mongodb.org/manual/reference/operator/mod/ |
| 753 | 753 | * @param float|int $divisor |
| 754 | - * @param float|int $remainder |
|
| 754 | + * @param integer $remainder |
|
| 755 | 755 | */ |
| 756 | 756 | public function mod($divisor, $remainder = 0): self |
| 757 | 757 | { |
@@ -153,7 +153,6 @@ |
||
| 153 | 153 | * Finds documents by a set of criteria. |
| 154 | 154 | * |
| 155 | 155 | * @param int|null $limit |
| 156 | - * @param int|null $offset |
|
| 157 | 156 | */ |
| 158 | 157 | public function findBy(array $criteria, ?array $sort = null, $limit = null, $skip = null): array |
| 159 | 158 | { |
@@ -35,6 +35,7 @@ discard block |
||
| 35 | 35 | /** |
| 36 | 36 | * Ensure indexes are created for all documents that can be loaded with the |
| 37 | 37 | * metadata factory. |
| 38 | + * @param integer $timeout |
|
| 38 | 39 | */ |
| 39 | 40 | public function ensureIndexes(?int $timeout = null): void |
| 40 | 41 | { |
@@ -52,6 +53,7 @@ discard block |
||
| 52 | 53 | * |
| 53 | 54 | * Indexes that exist in MongoDB but not the document metadata will be |
| 54 | 55 | * deleted. |
| 56 | + * @param integer $timeout |
|
| 55 | 57 | */ |
| 56 | 58 | public function updateIndexes(?int $timeout = null): void |
| 57 | 59 | { |
@@ -2131,6 +2131,7 @@ |
||
| 2131 | 2131 | |
| 2132 | 2132 | /** |
| 2133 | 2133 | * Clears the UnitOfWork. |
| 2134 | + * @param string $documentName |
|
| 2134 | 2135 | */ |
| 2135 | 2136 | public function clear(?string $documentName = null): void |
| 2136 | 2137 | { |
@@ -629,6 +629,7 @@ discard block |
||
| 629 | 629 | * |
| 630 | 630 | * @throws \InvalidArgumentException If document class is not this class or |
| 631 | 631 | * a Proxy of this class. |
| 632 | + * @param \Doctrine\ODM\MongoDB\Event\PreLoadEventArgs[] $arguments |
|
| 632 | 633 | */ |
| 633 | 634 | public function invokeLifecycleCallbacks(string $event, object $document, ?array $arguments = null): void |
| 634 | 635 | { |
@@ -1281,6 +1282,7 @@ discard block |
||
| 1281 | 1282 | * {@inheritDoc} |
| 1282 | 1283 | * |
| 1283 | 1284 | * Checks whether the class has a mapped association (embed or reference) with the given field name. |
| 1285 | + * @param string|null $fieldName |
|
| 1284 | 1286 | */ |
| 1285 | 1287 | public function hasAssociation($fieldName): bool |
| 1286 | 1288 | { |
@@ -1940,7 +1942,7 @@ discard block |
||
| 1940 | 1942 | * - reflClass (ReflectionClass) |
| 1941 | 1943 | * - reflFields (ReflectionProperty array) |
| 1942 | 1944 | * |
| 1943 | - * @return array The names of all the fields that should be serialized. |
|
| 1945 | + * @return string[] The names of all the fields that should be serialized. |
|
| 1944 | 1946 | */ |
| 1945 | 1947 | public function __sleep() |
| 1946 | 1948 | { |