Code Duplication    Length = 10-10 lines in 2 locations

src/Client/MercadoLibreClient.php 2 locations

@@ 102-111 (lines=10) @@
99
     *
100
     * @return object
101
     */
102
    public function showUser($customer_id)
103
    {
104
        $response = $this->getGuzzleClient()
105
            ->get('/users/' . $customer_id, $this->setQuery());
106
107
        return $this->serializer->deserialize(
108
            $response->getBody()->getContents(),
109
            User::class, 'json'
110
        );
111
    }
112
113
    public function showUserMe()
114
    {
@@ 113-122 (lines=10) @@
110
        );
111
    }
112
113
    public function showUserMe()
114
    {
115
        $response = $this->getGuzzleClient()
116
            ->get('/users/me', $this->setQuery());
117
118
        return $this->serializer->deserialize(
119
            $response->getBody()->getContents(),
120
            User::class, 'json'
121
        );
122
    }
123
124
    /**
125
     * Set query