Code Duplication    Length = 7-7 lines in 2 locations

src/ProviderAndDumperAggregator.php 2 locations

@@ 98-104 (lines=7) @@
95
        });
96
    }
97
98
    public function geocode(string $value) : self
99
    {
100
        $cacheKey = (new Str)->slug(strtolower(urlencode($value)));
101
        $this->results = $this->cacheRequest($cacheKey, [$value], "geocode");
102
103
        return $this;
104
    }
105
106
    public function geocodeQuery(GeocodeQuery $query) : self
107
    {
@@ 167-173 (lines=7) @@
164
        return $this;
165
    }
166
167
    public function reverse(float $latitude, float $longitude) : self
168
    {
169
        $cacheKey = (new Str)->slug(strtolower(urlencode("{$latitude}-{$longitude}")));
170
        $this->results = $this->cacheRequest($cacheKey, [$latitude, $longitude], "reverse");
171
172
        return $this;
173
    }
174
175
    public function reverseQuery(ReverseQuery $query) : self
176
    {