Skip to content

Commit

Permalink
Update Adapter.php
Browse files Browse the repository at this point in the history
  • Loading branch information
aphraoh authored Mar 25, 2024
1 parent 60a78d5 commit 00e9b64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Adapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ protected function reserve()
/**
* @param array $payload
*/
protected function release($payload)
protected function release($payload): void

Check warning on line 160 in src/Adapter.php

View check run for this annotation

Codecov / codecov/patch

src/Adapter.php#L160

Added line #L160 was not covered by tests
{
if ($this->deleteReleased) {
$this->db->createCommand()->delete(
Expand All @@ -176,7 +176,7 @@ protected function release($payload)
/**
* Moves expired messages into waiting list.
*/
private function moveExpired()
private function moveExpired(): void

Check warning on line 179 in src/Adapter.php

View check run for this annotation

Codecov / codecov/patch

src/Adapter.php#L179

Added line #L179 was not covered by tests
{
if ($this->reserveTime !== time()) {
$this->reserveTime = time();
Expand Down

0 comments on commit 00e9b64

Please sign in to comment.