Code Duplication    Length = 7-7 lines in 4 locations

src/JCRequest.php 4 locations

@@ 30-36 (lines=7) @@
27
        ]);
28
    }
29
30
    public static function post($url, $params = null, $headers = [], $options = [])
31
    {
32
        return static::request(Method::POST, $url, [
33
            'headers' => $headers,
34
            'params' => $params
35
        ]);
36
    }
37
38
    public static function put($url, $params = null, $headers = [], $options = [])
39
    {
@@ 38-44 (lines=7) @@
35
        ]);
36
    }
37
38
    public static function put($url, $params = null, $headers = [], $options = [])
39
    {
40
        return static::request(Method::PUT, $url, [
41
            'headers' => $headers,
42
            'params' => $params
43
        ]);
44
    }
45
46
    public static function patch($url, $params = null, $headers = [], $options = [])
47
    {
@@ 46-52 (lines=7) @@
43
        ]);
44
    }
45
46
    public static function patch($url, $params = null, $headers = [], $options = [])
47
    {
48
        return static::request(Method::PATCH, $url, [
49
            'headers' => $headers,
50
            'params' => $params
51
        ]);
52
    }
53
54
    public static function delete($url, $params = null, $headers = [], $options = [])
55
    {
@@ 54-60 (lines=7) @@
51
        ]);
52
    }
53
54
    public static function delete($url, $params = null, $headers = [], $options = [])
55
    {
56
        return static::request(Method::DELETE, $url, [
57
            'headers' => $headers,
58
            'params' => $params
59
        ]);
60
    }
61
62
    public static function head($url, $headers = [], $options = [])
63
    {