Code Duplication    Length = 3-3 lines in 2 locations

src/RealTimeClient.php 2 locations

@@ 390-392 (lines=3) @@
387
                        = $payload['channel']['name'];
388
                    break;
389
390
                case 'channel_archive':
391
                    $this->channels[$payload['channel']['id']]->data['is_archived'] = true;
392
                    break;
393
394
                case 'channel_unarchive':
395
                    $this->channels[$payload['channel']['id']]->data['is_archived'] = false;
@@ 394-396 (lines=3) @@
391
                    $this->channels[$payload['channel']['id']]->data['is_archived'] = true;
392
                    break;
393
394
                case 'channel_unarchive':
395
                    $this->channels[$payload['channel']['id']]->data['is_archived'] = false;
396
                    break;
397
398
                case 'group_joined':
399
                    $group = new Group($this, $payload['channel']);