Code Duplication    Length = 9-9 lines in 2 locations

src/Request/Request.php 2 locations

@@ 299-307 (lines=9) @@
296
     *
297
     * @return self
298
     */
299
    public function setServer($key, $value = null)
300
    {
301
        if (is_array($key)) {
302
            $this->server = array_merge($this->server, $key);
303
        } else {
304
            $this->server[$key] = $value;
305
        }
306
        return $this;
307
    }
308
309
310
@@ 334-342 (lines=9) @@
331
     *
332
     * @return self
333
     */
334
    public function setGet($key, $value = null)
335
    {
336
        if (is_array($key)) {
337
            $this->get = array_merge($this->get, $key);
338
        } else {
339
            $this->get[$key] = $value;
340
        }
341
        return $this;
342
    }
343
344
345