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

@@ 199-208 (lines=10) @@
196
     *
197
     * @link https://www.dropbox.com/developers/documentation/http/documentation#files-get_temporary_link
198
     */
199
    public function getTemporaryLink(string $path): string
200
    {
201
        $parameters = [
202
            'path' => $this->normalizePath($path),
203
        ];
204
205
        $body = $this->rpcEndpointRequest('files/get_temporary_link', $parameters);
206
207
        return $body['link'];
208
    }
209
210
    /**
211
     * Get a thumbnail for an image.
@@ 245-253 (lines=9) @@
242
     *
243
     * @link https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder
244
     */
245
    public function listFolder(string $path = '', bool $recursive = false): array
246
    {
247
        $parameters = [
248
            'path' => $this->normalizePath($path),
249
            'recursive' => $recursive,
250
        ];
251
252
        return $this->rpcEndpointRequest('files/list_folder', $parameters);
253
    }
254
255
    /**
256
     * Once a cursor has been retrieved from list_folder, use this to paginate through all files and