Skip to content

Commit 4064f07

Browse files
Gugimanmakasim
authored andcommitted
Cast whole result as int
1 parent 75dc519 commit 4064f07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/dbal/DbalProducer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public function send(PsrDestination $destination, PsrMessage $message)
8383

8484
$dbalMessage = [
8585
'id' => $uuid,
86-
'published_at' => microtime(true) * 10000,
86+
'published_at' => (int) (microtime(true) * 10000),
8787
'body' => $body,
8888
'headers' => JSON::encode($message->getHeaders()),
8989
'properties' => JSON::encode($message->getProperties()),

0 commit comments

Comments
 (0)