Skip to content

Commit

Permalink
Remove obsolete assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
parijke committed Jun 14, 2024
1 parent dec4350 commit 098880b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/HealthCheck/UserSecretStorageHealthCheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ public function __construct(private readonly TiqrUserRepositoryInterface $tiqrUs

public function check(HealthReportInterface $report): HealthReportInterface
{
assert($this->tiqrUserRepository instanceof TiqrUserRepository);

$message = '';
if (!$this->tiqrUserRepository->userSecretStorageHealthCheck($message)) {
return $report::buildStatusDown($message);
Expand Down
1 change: 0 additions & 1 deletion src/HealthCheck/UserStorageHealthCheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ public function __construct(private readonly TiqrUserRepositoryInterface $tiqrUs

public function check(HealthReportInterface $report): HealthReportInterface
{
assert($this->tiqrUserRepository instanceof TiqrUserRepository);
$message = '';
if (!$this->tiqrUserRepository->userStorageHealthCheck($message)) {
return $report::buildStatusDown($message);
Expand Down

0 comments on commit 098880b

Please sign in to comment.