@@ -122,7 +122,7 @@ public function __clone()
122122 /**
123123 * Add one or more $and clauses to the current query.
124124 *
125- * You can create a new expression using the {@link Builder::expr ()} method.
125+ * You can create a new expression using the {@link Builder::createAggregationExpression ()} method.
126126 *
127127 * @see Expr::addAnd()
128128 * @see https://docs.mongodb.com/manual/reference/operator/and/
@@ -140,7 +140,7 @@ public function addAnd($expression, ...$expressions): self
140140 /**
141141 * Add one or more $nor clauses to the current query.
142142 *
143- * You can create a new expression using the {@link Builder::expr ()} method.
143+ * You can create a new expression using the {@link Builder::createAggregationExpression ()} method.
144144 *
145145 * @see Expr::addNor()
146146 * @see https://docs.mongodb.com/manual/reference/operator/nor/
@@ -158,7 +158,7 @@ public function addNor($expression, ...$expressions): self
158158 /**
159159 * Add one or more $or clauses to the current query.
160160 *
161- * You can create a new expression using the {@link Builder::expr ()} method.
161+ * You can create a new expression using the {@link Builder::createAggregationExpression ()} method.
162162 *
163163 * @see Expr::addOr()
164164 * @see https://docs.mongodb.com/manual/reference/operator/or/
@@ -430,7 +430,7 @@ public function distinct(string $field): self
430430 /**
431431 * Specify $elemMatch criteria for the current field.
432432 *
433- * You can create a new expression using the {@link Builder::expr ()} method.
433+ * You can create a new expression using the {@link Builder::createAggregationExpression ()} method.
434434 *
435435 * @see Expr::elemMatch()
436436 * @see https://docs.mongodb.com/manual/reference/operator/elemMatch/
@@ -465,6 +465,9 @@ public function equals($value): self
465465 * excluded.
466466 *
467467 * @param string[]|string $fieldName,...
468+ * @param null|string|string[] $fieldName
469+ *
470+ * @psalm-param 'comments'|array{0: 'name', 1: 'issues'}|null $fieldName
468471 */
469472 public function exclude ($ fieldName = null ): self
470473 {
@@ -1054,7 +1057,7 @@ public function nearSphere($x, $y = null): self
10541057 /**
10551058 * Negates an expression for the current field.
10561059 *
1057- * You can create a new expression using the {@link Builder::expr ()} method.
1060+ * You can create a new expression using the {@link Builder::createAggregationExpression ()} method.
10581061 *
10591062 * @see Expr::not()
10601063 * @see https://docs.mongodb.com/manual/reference/operator/not/
@@ -1288,7 +1291,9 @@ public function returnNew(bool $bool = true): self
12881291 /**
12891292 * Set one or more fields to be included in the query projection.
12901293 *
1291- * @param string[]|string $fieldName,...
1294+ * @param null|string|string[] $fieldName
1295+ *
1296+ * @return Builder
12921297 */
12931298 public function select ($ fieldName = null ): self
12941299 {
0 commit comments