Skip to content

Commit 0d8439d

Browse files
committed
Cast id to string for compatibility with lower versions
1 parent dcfe9a8 commit 0d8439d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Repository/IndexQueueRepository.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ public function denormalizeDatabaseEntry(array $entry): IndexQueue
156156
//bigint field potentially exceed max php int values on 32 bit systems, therefore this is handled as string
157157
$entry['operationTime'] = (string)$entry['operationTime'];
158158
$entry['dispatched'] = (string)$entry['dispatched'];
159+
$entry['id'] = (string)$entry['id'];
159160

160161
return $this->denormalizer->denormalize($entry, IndexQueue::class);
161162
}

0 commit comments

Comments
 (0)