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

@@ 154-163 (lines=10) @@
151
     *
152
     * @link https://www.dropbox.com/developers/documentation/http/documentation#files-get_temporary_link
153
     */
154
    public function getTemporaryLink(string $path): string
155
    {
156
        $parameters = [
157
            'path' => $this->normalizePath($path),
158
        ];
159
160
        $body = $this->rpcEndpointRequest('files/get_temporary_link', $parameters);
161
162
        return $body['link'];
163
    }
164
165
    /**
166
     * Get a thumbnail for an image.
@@ 200-208 (lines=9) @@
197
     *
198
     * @link https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder
199
     */
200
    public function listFolder(string $path = '', bool $recursive = false): array
201
    {
202
        $parameters = [
203
            'path' => $this->normalizePath($path),
204
            'recursive' => $recursive,
205
        ];
206
207
        return $this->rpcEndpointRequest('files/list_folder', $parameters);
208
    }
209
210
    /**
211
     * Once a cursor has been retrieved from list_folder, use this to paginate through all files and