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 3 locations

src/Client.php 3 locations

@@ 107-115 (lines=9) @@
104
     *
105
     * @link https://www.dropbox.com/developers/documentation/http/documentation#sharing-create_shared_link_with_settings
106
     */
107
    public function createSharedLinkWithSettings(string $path, array $settings = [])
108
    {
109
        $parameters = [
110
            'path' => $this->normalizePath($path),
111
            'settings' => $settings,
112
        ];
113
114
        return $this->rpcEndpointRequest('sharing/create_shared_link_with_settings', $parameters);
115
    }
116
117
    /**
118
     * List shared links.
@@ 202-211 (lines=10) @@
199
     *
200
     * @link https://www.dropbox.com/developers/documentation/http/documentation#files-get_temporary_link
201
     */
202
    public function getTemporaryLink(string $path): string
203
    {
204
        $parameters = [
205
            'path' => $this->normalizePath($path),
206
        ];
207
208
        $body = $this->rpcEndpointRequest('files/get_temporary_link', $parameters);
209
210
        return $body['link'];
211
    }
212
213
    /**
214
     * Get a thumbnail for an image.
@@ 248-256 (lines=9) @@
245
     *
246
     * @link https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder
247
     */
248
    public function listFolder(string $path = '', bool $recursive = false): array
249
    {
250
        $parameters = [
251
            'path' => $this->normalizePath($path),
252
            'recursive' => $recursive,
253
        ];
254
255
        return $this->rpcEndpointRequest('files/list_folder', $parameters);
256
    }
257
258
    /**
259
     * Once a cursor has been retrieved from list_folder, use this to paginate through all files and