Skip to content

Commit 0964721

Browse files
committed
where type hint
1 parent 077a653 commit 0964721

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/query/src/Concern/WhereConcernTrait.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,7 @@ static function (Query $query) use ($wheres) {
413413
return $this->having($wheres, 'OR');
414414
}
415415

416+
/** @psalm-param callable(Query): ?Query $conditions */
416417
public function whereExists(Query|callable $conditions): static
417418
{
418419
return $this->handleWhereExists('where', $conditions, false);

0 commit comments

Comments
 (0)