Code Duplication    Length = 10-10 lines in 2 locations

src/Gauges/Request.php 2 locations

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