Code Duplication    Length = 9-9 lines in 3 locations

src/Request/Request.php 3 locations

@@ 328-336 (lines=9) @@
325
     *
326
     * @return self
327
     */
328
    public function setServer($key, $value = null) : object
329
    {
330
        if (is_array($key)) {
331
            $this->server = array_merge($this->server, $key);
332
        } else {
333
            $this->server[$key] = $value;
334
        }
335
        return $this;
336
    }
337
338
339
@@ 382-390 (lines=9) @@
379
     *
380
     * @return self
381
     */
382
    public function setGet($key, $value = null) : object
383
    {
384
        if (is_array($key)) {
385
            $this->get = array_merge($this->get, $key);
386
        } else {
387
            $this->get[$key] = $value;
388
        }
389
        return $this;
390
    }
391
392
393
@@ 422-430 (lines=9) @@
419
     *
420
     * @return self
421
     */
422
    public function setPost($key, $value = null) : object
423
    {
424
        if (is_array($key)) {
425
            $this->post = array_merge($this->post, $key);
426
        } else {
427
            $this->post[$key] = $value;
428
        }
429
        return $this;
430
    }
431
432
433