Skip to content

Commit

Permalink
Merge pull request #13 from JaroslawZielinski/feature/repository-fix
Browse files Browse the repository at this point in the history
Torah Repository fix
  • Loading branch information
JaroslawZielinski authored Mar 14, 2024
2 parents 568c1ac + 0ae48df commit 24fd1e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Bible/Service/Offline/Repository.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,11 @@ public function totalCount(string $translation): int
/**
* @inheritDoc
*/
public function delete(string $translation, array $conditions = []): void
public function delete(string $translation, array $conditions = []): bool
{
$resourceName = $this->getResourceName($translation);
$dB = $this->getConnection($resourceName);
$dB->delete($resourceName, $conditions);
return $dB->delete($resourceName, $conditions);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Bible/Service/Offline/RepositoryInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ public function totalCount(string $translation): int;

/**
*/
public function delete(string $translation, array $conditions = []): void;
public function delete(string $translation, array $conditions = []): bool;
}

0 comments on commit 24fd1e8

Please sign in to comment.