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

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