From 6f40980067ed3daa0efea2e7767d4bf88a9cc3a1 Mon Sep 17 00:00:00 2001 From: Akolzin Dmitry Date: Fri, 16 Apr 2021 09:59:35 +0300 Subject: [PATCH] Update hash method --- Messenger/Middleware/LockableMessageMiddleware.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Messenger/Middleware/LockableMessageMiddleware.php b/Messenger/Middleware/LockableMessageMiddleware.php index c5c9498..dbf355c 100644 --- a/Messenger/Middleware/LockableMessageMiddleware.php +++ b/Messenger/Middleware/LockableMessageMiddleware.php @@ -63,6 +63,6 @@ class LockableMessageMiddleware implements MiddlewareInterface */ private function hash(LockableMessage $message): string { - return hash('crc32c', serialize($message)); + return hash('crc32', serialize($message)); } }