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 = 10-10 lines in 3 locations

src/Service/Starcraft.php 1 location

@@ 137-146 (lines=10) @@
134
     *
135
     * @return Response
136
     */
137
    public function getProfileUser($accessToken = null, array $options = [])
138
    {
139
        if (null === $accessToken) {
140
            $options['access_token'] = $this->blizzardClient->getAccessToken();
141
        } else {
142
            $options['access_token'] = $accessToken;
143
        }
144
145
        return $this->request('/profile/user', $options);
146
    }
147
148
    // endregion Community OAuth API
149
}

src/Service/CommunityOAuth.php 1 location

@@ 26-35 (lines=10) @@
23
     *
24
     * @return Response
25
     */
26
    public function getUser($accessToken = null, array $options = [])
27
    {
28
        if (null === $accessToken) {
29
            $options['access_token'] = $this->blizzardClient->getAccessToken();
30
        } else {
31
            $options['access_token'] = $accessToken;
32
        }
33
34
        return $this->request('/account/user', $options);
35
    }
36
37
    // endregion Account API
38
}

src/Service/WorldOfWarcraft.php 1 location

@@ 590-599 (lines=10) @@
587
     *
588
     * @return Response
589
     */
590
    public function getProfileCharacters($accessToken = null, array $options = [])
591
    {
592
        if (null === $accessToken) {
593
            $options['access_token'] = $this->blizzardClient->getAccessToken();
594
        } else {
595
            $options['access_token'] = $accessToken;
596
        }
597
598
        return $this->request('/user/characters', $options);
599
    }
600
601
    // endregion Community OAuth API
602
}