Skip to content

Commit 52c73d0

Browse files
committed
chore: clean up
1 parent 99ad970 commit 52c73d0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Queue/Adapters/Database.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public function popJobFromQueue($id)
7272
$this->db
7373
->delete($this->config['table'])
7474
->where([
75-
"id" => $id,
75+
'id' => $id,
7676
])
7777
->execute();
7878

@@ -150,11 +150,11 @@ public function retryFailedJob($id, $retryCount)
150150
$this->db
151151
->update($this->config['table'])
152152
->params([
153-
"status" => "pending",
154-
"retry_count" => (int) $retryCount + 1,
153+
'status' => 'pending',
154+
'retry_count' => (int) $retryCount + 1,
155155
])
156156
->where([
157-
"id" => $id,
157+
'id' => $id,
158158
])
159159
->execute();
160160

0 commit comments

Comments
 (0)