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

src/Client.php 2 locations

@@ 125-134 (lines=10) @@
122
     *
123
     * @link https://www.dropbox.com/developers/documentation/http/documentation#files-get_temporary_link
124
     */
125
    public function getTemporaryLink(string $path): string
126
    {
127
        $parameters = [
128
            'path' => $this->normalizePath($path),
129
        ];
130
131
        $body = $this->requestRPC('files/get_temporary_link', $parameters);
132
133
        return $body['link'];
134
    }
135
136
    /**
137
     * Get a thumbnail for an image.
@@ 170-178 (lines=9) @@
167
     *
168
     * @link https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder
169
     */
170
    public function listFolder(string $path = '', bool $recursive = false): array
171
    {
172
        $parameters = [
173
            'path' => $this->normalizePath($path),
174
            'recursive' => $recursive,
175
        ];
176
177
        return $this->requestRPC('files/list_folder', $parameters);
178
    }
179
180
    /**
181
     * Move a file or folder to a different location in the user's Dropbox.