GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 8-8 lines in 2 locations

src/Messenger.php 2 locations

@@ 93-100 (lines=8) @@
90
     *
91
     * @return array
92
     */
93
    public function setWelcomeMessage($message, $pageId)
94
    {
95
        $options = [
96
            RequestOptions::JSON => $this->buildWelcomeData($message),
97
        ];
98
99
        return $this->send('POST', sprintf('/%s/thread_settings', $pageId), $options);
100
    }
101
102
    /**
103
     * @param string $pageId
@@ 107-114 (lines=8) @@
104
     *
105
     * @return array
106
     */
107
    public function deleteWelcomeMessage($pageId)
108
    {
109
        $options = [
110
            RequestOptions::JSON => $this->buildWelcomeData(),
111
        ];
112
113
        return $this->send('POST', sprintf('/%s/thread_settings', $pageId), $options);
114
    }
115
116
    /**
117
     * @param $method