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

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