2525use function func_get_args ;
2626use function in_array ;
2727use function is_array ;
28- use function is_bool ;
29- use function is_callable ;
3028use function is_string ;
3129use function strtolower ;
3230
@@ -186,8 +184,6 @@ public function addOr(array|Expr $expression, array|Expr ...$expressions): self
186184 * @see Expr::addToSet()
187185 * @see https://docs.mongodb.com/manual/reference/operator/addToSet/
188186 * @see https://docs.mongodb.com/manual/reference/operator/each/
189- *
190- * @param mixed|Expr $valueOrExpression
191187 */
192188 public function addToSet (mixed $ valueOrExpression ): self
193189 {
@@ -811,8 +807,6 @@ public function in(array $values): self
811807 *
812808 * @see Expr::inc()
813809 * @see https://docs.mongodb.com/manual/reference/operator/inc/
814- *
815- * @param float|int $value
816810 */
817811 public function inc (float |int $ value ): self
818812 {
@@ -932,9 +926,6 @@ public function min(mixed $value): self
932926 *
933927 * @see Expr::mod()
934928 * @see https://docs.mongodb.com/manual/reference/operator/mod/
935- *
936- * @param float|int $divisor
937- * @param float|int $remainder
938929 */
939930 public function mod (float |int $ divisor , float |int $ remainder = 0 ): self
940931 {
@@ -950,8 +941,6 @@ public function mod(float|int $divisor, float|int $remainder = 0): self
950941 *
951942 * @see Expr::mul()
952943 * @see https://docs.mongodb.com/manual/reference/operator/update/mul/
953- *
954- * @param float|int $value
955944 */
956945 public function mul (float |int $ value ): self
957946 {
@@ -971,7 +960,6 @@ public function mul(float|int $value): self
971960 * @see https://docs.mongodb.com/manual/reference/operator/near/
972961 *
973962 * @param float|array<string, mixed>|Point $x
974- * @param float|null $y
975963 */
976964 public function near (float |array |Point $ x , ?float $ y = null , ?float $ minDistance = null , ?float $ maxDistance = null ): self
977965 {
@@ -991,7 +979,6 @@ public function near(float|array|Point $x, ?float $y = null, ?float $minDistance
991979 * @see https://docs.mongodb.com/manual/reference/operator/nearSphere/
992980 *
993981 * @param float|array<string, mixed>|Point $x
994- * @param float|null $y
995982 */
996983 public function nearSphere (float |array |Point $ x , ?float $ y = null , ?float $ minDistance = null , ?float $ maxDistance = null ): self
997984 {
@@ -1007,8 +994,6 @@ public function nearSphere(float|array|Point $x, ?float $y = null, ?float $minDi
1007994 *
1008995 * @see Expr::not()
1009996 * @see https://docs.mongodb.com/manual/reference/operator/not/
1010- *
1011- * @param array|Expr|mixed $valueOrExpression
1012997 */
1013998 public function not (mixed $ valueOrExpression ): self
1014999 {
@@ -1123,8 +1108,6 @@ public function prime(bool|callable $primer = true): self
11231108 *
11241109 * @see Expr::pull()
11251110 * @see https://docs.mongodb.com/manual/reference/operator/pull/
1126- *
1127- * @param mixed|Expr $valueOrExpression
11281111 */
11291112 public function pull (mixed $ valueOrExpression ): self
11301113 {
@@ -1165,8 +1148,6 @@ public function pullAll(array $values): self
11651148 * @see https://docs.mongodb.com/manual/reference/operator/each/
11661149 * @see https://docs.mongodb.com/manual/reference/operator/slice/
11671150 * @see https://docs.mongodb.com/manual/reference/operator/sort/
1168- *
1169- * @param mixed|Expr $valueOrExpression
11701151 */
11711152 public function push (mixed $ valueOrExpression ): self
11721153 {
0 commit comments