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

src/Client.php 2 locations

@@ 128-137 (lines=10) @@
125
     *
126
     * @link https://www.dropbox.com/developers/documentation/http/documentation#files-get_temporary_link
127
     */
128
    public function getTemporaryLink(string $path): string
129
    {
130
        $parameters = [
131
            'path' => $this->normalizePath($path),
132
        ];
133
134
        $body = $this->rpcEndpointRequest('files/get_temporary_link', $parameters);
135
136
        return $body['link'];
137
    }
138
139
    /**
140
     * Get a thumbnail for an image.
@@ 169-177 (lines=9) @@
166
     *
167
     * @link https://www.dropbox.com/developers/documentation/http/documentation#files-list_folder
168
     */
169
    public function listFolder(string $path = '', bool $recursive = false): array
170
    {
171
        $parameters = [
172
            'path' => $this->normalizePath($path),
173
            'recursive' => $recursive,
174
        ];
175
176
        return $this->rpcEndpointRequest('files/list_folder', $parameters);
177
    }
178
179
    /**
180
     * Move a file or folder to a different location in the user's Dropbox.