Skip to content

Commit 3d51fda

Browse files
committed
Fixed type cast for delay type job
1 parent 9a1d8e2 commit 3d51fda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PubSubQueue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ public function later($delay, $job, $data = '', $subscriber = null)
145145
return $this->pushRaw(
146146
$this->createPayload($job, $data),
147147
$subscriber,
148-
['available_at' => $this->availableAt($delay)]
148+
['available_at' => (string) $this->availableAt($delay)]
149149
);
150150
}
151151

0 commit comments

Comments
 (0)