Skip to content

Commit

Permalink
Update base repository definition (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
ristokekovic authored Dec 31, 2024
1 parent 3c0b375 commit 16544cd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ORM/Repositories/BaseRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,14 +180,14 @@ public function count(QueryFilter $filter = null): int
/**
* Deletes records identified by the query.
*
* @param QueryFilter $filter
* @param QueryFilter|null $filter
*
* @return int
* @return void
* @throws QueryFilterInvalidParamException
*/
public function deleteWhere(QueryFilter $filter = null): int
public function deleteWhere(QueryFilter $filter = null): void
{
return $this->getTransformer()->transformFilter($filter)->delete();
$this->getTransformer()->transformFilter($filter)->delete();
}

/**
Expand Down

0 comments on commit 16544cd

Please sign in to comment.