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

@@ 98-106 (lines=9) @@
95
     *
96
     * @link https://www.dropbox.com/developers/documentation/http/documentation#sharing-create_shared_link_with_settings
97
     */
98
    public function createSharedLinkWithSettings(string $path, array $settings = [])
99
    {
100
        $parameters = [
101
            'path' => $this->normalizePath($path),
102
            'settings' => $settings,
103
        ];
104
105
        return $this->rpcEndpointRequest('sharing/create_shared_link_with_settings', $parameters);
106
    }
107
108
    /**
109
     * List shared links.
@@ 193-202 (lines=10) @@
190
     *
191
     * @link https://www.dropbox.com/developers/documentation/http/documentation#files-get_temporary_link
192
     */
193
    public function getTemporaryLink(string $path): string
194
    {
195
        $parameters = [
196
            'path' => $this->normalizePath($path),
197
        ];
198
199
        $body = $this->rpcEndpointRequest('files/get_temporary_link', $parameters);
200
201
        return $body['link'];
202
    }
203
204
    /**
205
     * Get a thumbnail for an image.
@@ 239-247 (lines=9) @@
236
     *
237
     * @link https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder
238
     */
239
    public function listFolder(string $path = '', bool $recursive = false): array
240
    {
241
        $parameters = [
242
            'path' => $this->normalizePath($path),
243
            'recursive' => $recursive,
244
        ];
245
246
        return $this->rpcEndpointRequest('files/list_folder', $parameters);
247
    }
248
249
    /**
250
     * Once a cursor has been retrieved from list_folder, use this to paginate through all files and