Code Duplication    Length = 3-3 lines in 2 locations

src/RealTimeClient.php 2 locations

@@ 434-436 (lines=3) @@
431
                        = $payload['channel']['name'];
432
                    break;
433
434
                case 'group_archive':
435
                    $this->groups[$payload['group']['id']]->data['is_archived'] = true;
436
                    break;
437
438
                case 'group_unarchive':
439
                    $this->groups[$payload['group']['id']]->data['is_archived'] = false;
@@ 438-440 (lines=3) @@
435
                    $this->groups[$payload['group']['id']]->data['is_archived'] = true;
436
                    break;
437
438
                case 'group_unarchive':
439
                    $this->groups[$payload['group']['id']]->data['is_archived'] = false;
440
                    break;
441
442
                case 'im_created':
443
                    $dm = new DirectMessageChannel($this, $payload['channel']);