Code Duplication    Length = 9-9 lines in 3 locations

src/Request/Request.php 3 locations

@@ 335-343 (lines=9) @@
332
     *
333
     * @return self
334
     */
335
    public function setServer($key, $value = null) : object
336
    {
337
        if (is_array($key)) {
338
            $this->server = array_merge($this->server, $key);
339
        } else {
340
            $this->server[$key] = $value;
341
        }
342
        return $this;
343
    }
344
345
346
@@ 389-397 (lines=9) @@
386
     *
387
     * @return self
388
     */
389
    public function setGet($key, $value = null) : object
390
    {
391
        if (is_array($key)) {
392
            $this->get = array_merge($this->get, $key);
393
        } else {
394
            $this->get[$key] = $value;
395
        }
396
        return $this;
397
    }
398
399
400
@@ 429-437 (lines=9) @@
426
     *
427
     * @return self
428
     */
429
    public function setPost($key, $value = null) : object
430
    {
431
        if (is_array($key)) {
432
            $this->post = array_merge($this->post, $key);
433
        } else {
434
            $this->post[$key] = $value;
435
        }
436
        return $this;
437
    }
438
439
440