Code Duplication    Length = 9-9 lines in 2 locations

src/Request/Request.php 2 locations

@@ 303-311 (lines=9) @@
300
     *
301
     * @return self
302
     */
303
    public function setServer($key, $value = null)
304
    {
305
        if (is_array($key)) {
306
            $this->server = array_merge($this->server, $key);
307
        } else {
308
            $this->server[$key] = $value;
309
        }
310
        return $this;
311
    }
312
313
314
@@ 338-346 (lines=9) @@
335
     *
336
     * @return self
337
     */
338
    public function setGet($key, $value = null)
339
    {
340
        if (is_array($key)) {
341
            $this->get = array_merge($this->get, $key);
342
        } else {
343
            $this->get[$key] = $value;
344
        }
345
        return $this;
346
    }
347
348
349