Code Duplication    Length = 5-5 lines in 2 locations

Classes/Commands/TellCommand.php 2 locations

@@ 83-87 (lines=5) @@
80
                    $this->processReviewMessage($notification, $user);
81
                } elseif (strpos($notification['message'], 'forge:') === 0) {
82
                    $this->processForgeMessage($notification, $user);
83
                } else {
84
                    $msg = '*Hi <@' . $user . '>, here is a message from <@' . $notification['from_user'] . '>'
85
                        . ' for you:*';
86
                    $this->sendResponse($msg . "\n" . $notification['message'], $user);
87
                }
88
                $now = new \DateTime();
89
                $now->setTimestamp(time());
90
                $this->getDatabaseConnection()->update(
@@ 132-136 (lines=5) @@
129
        $parts = explode(':', $notification['message']);
130
        $issueNumber = (int) trim($parts[1]);
131
        $result = $this->queryForge('issues/' . $issueNumber);
132
        if ($result) {
133
            $msg = '*Hi <@' . $user . '>, <@' . $notification['from_user'] . '>'
134
                . ' ask you to look at this issue:*';
135
            $this->sendResponse($msg . "\n" . $this->buildIssueMessage($result->issue), $user);
136
        }
137
    }
138
139
    /**