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

@@ 84-92 (lines=9) @@
81
     *
82
     * @link https://www.dropbox.com/developers/documentation/http/documentation#sharing-create_shared_link_with_settings
83
     */
84
    public function createSharedLinkWithSettings(string $path, array $settings = [])
85
    {
86
        $parameters = [
87
            'path' => $this->normalizePath($path),
88
            'settings' => $settings,
89
        ];
90
91
        return $this->rpcEndpointRequest('sharing/create_shared_link_with_settings', $parameters);
92
    }
93
94
    /**
95
     * List shared links.
@@ 179-188 (lines=10) @@
176
     *
177
     * @link https://www.dropbox.com/developers/documentation/http/documentation#files-get_temporary_link
178
     */
179
    public function getTemporaryLink(string $path): string
180
    {
181
        $parameters = [
182
            'path' => $this->normalizePath($path),
183
        ];
184
185
        $body = $this->rpcEndpointRequest('files/get_temporary_link', $parameters);
186
187
        return $body['link'];
188
    }
189
190
    /**
191
     * Get a thumbnail for an image.
@@ 225-233 (lines=9) @@
222
     *
223
     * @link https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder
224
     */
225
    public function listFolder(string $path = '', bool $recursive = false): array
226
    {
227
        $parameters = [
228
            'path' => $this->normalizePath($path),
229
            'recursive' => $recursive,
230
        ];
231
232
        return $this->rpcEndpointRequest('files/list_folder', $parameters);
233
    }
234
235
    /**
236
     * Once a cursor has been retrieved from list_folder, use this to paginate through all files and