Skip to content

Commit aba0d24

Browse files
committed
PHPStan fixes
1 parent b61da1f commit aba0d24

File tree

3 files changed

+1
-2
lines changed

3 files changed

+1
-2
lines changed

src/Eloquent/Builder.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ public function chunkById(mixed $count, callable $callback, mixed $column = '_id
294294
if ($countResults == 0) {
295295
break;
296296
}
297+
//@phpstan-ignore-next-line
297298
if ($callback($results, $page) === false) {
298299
return true;
299300
}

src/Relations/HasMany.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ public function getRelationExistenceQuery(Builder $query, Builder $parentQuery,
1717
{
1818
$foreignKey = $this->getHasCompareKey();
1919

20-
//@phpstan-ignore-next-line
2120
return $query->select($foreignKey)->where($foreignKey, 'exists', true);
2221
}
2322

src/Relations/HasOne.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ public function getRelationExistenceQuery(Builder $query, Builder $parentQuery,
2727
{
2828
$foreignKey = $this->getForeignKeyName();
2929

30-
//@phpstan-ignore-next-line
3130
return $query->select($foreignKey)->where($foreignKey, 'exists', true);
3231
}
3332

0 commit comments

Comments
 (0)