From f5a7d8ece85fbe5592ebb895f9ee2fa5a1fdeb93 Mon Sep 17 00:00:00 2001 From: Daniele Alessandri Date: Sun, 22 Dec 2013 12:20:59 +0100 Subject: [PATCH] Add a note about missing break in switch statement. [ci skip] --- lib/Predis/PubSub/Consumer.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Predis/PubSub/Consumer.php b/lib/Predis/PubSub/Consumer.php index cf219ca2..13fea361 100644 --- a/lib/Predis/PubSub/Consumer.php +++ b/lib/Predis/PubSub/Consumer.php @@ -119,6 +119,8 @@ class Consumer extends AbstractConsumer if ($response[2] === 0) { $this->invalidate(); } + // The missing break here is intentional as we must process + // subscriptions and unsubscriptions as standard messages. case self::MESSAGE: return (object) array(