Skip to content
This repository was archived by the owner on Dec 27, 2023. It is now read-only.

Commit 5d7b14f

Browse files
committed
Use strict comparison in HbMessagesHandler
1 parent 092082f commit 5d7b14f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Handlers/HbMessagesHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function __invoke($msg)
3333
{
3434
$this->logger->debug('Received message', ['processId' => getmypid(), 'msg' => $msg]);
3535

36-
if (['ping'] == $msg) {
36+
if (['ping'] === $msg) {
3737
$this->hbSocket->send($msg);
3838
} else {
3939
$this->logger->error('Unknown message', ['processId' => getmypid(), 'msg' => $msg]);

0 commit comments

Comments
 (0)