Code Duplication    Length = 10-10 lines in 2 locations

src/Gauges/Request.php 2 locations

@@ 187-196 (lines=10) @@
184
     *
185
     * @return Response
186
     */
187
    public function createClient(string $description = null) : Response
188
    {
189
        $params = array();
190
191
        if (isset($description)) {
192
            $params['description'] = $description;
193
        }
194
195
        return $this->makeApiCall('POST', 'clients', $params);
196
    }
197
198
    /**
199
     * Delete an API Client
@@ 221-230 (lines=10) @@
218
     *
219
     * @return Response
220
     */
221
    public function listGauges(int $page = null) : Response
222
    {
223
        $params = array();
224
225
        if (isset($page)) {
226
            $params['page'] = $page;
227
        }
228
229
        return $this->makeApiCall('GET', 'gauges', $params);
230
    }
231
232
    /**
233
     * Create a New Gauge