Add a note about missing break in switch statement.

[ci skip]
This commit is contained in:
Daniele Alessandri
2013-12-22 12:20:59 +01:00
parent 25cd43033f
commit f5a7d8ece8
+2
View File
@@ -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(