From e07c4809a4c5c10204965449707d8ff62abd2b86 Mon Sep 17 00:00:00 2001 From: Alex Lushpai Date: Fri, 16 Apr 2021 13:36:05 +0300 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Akolzin Dmitry --- 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 dbf355c..e6e4c39 100644 --- a/Messenger/Middleware/LockableMessageMiddleware.php +++ b/Messenger/Middleware/LockableMessageMiddleware.php @@ -61,7 +61,7 @@ class LockableMessageMiddleware implements MiddlewareInterface * * @return string */ - private function hash(LockableMessage $message): string + private function objectHash(LockableMessage $message): string { return hash('crc32', serialize($message)); }