Code Duplication    Length = 3-3 lines in 2 locations

StatefulGeocoder.php 2 locations

@@ 64-66 (lines=3) @@
61
        $query = GeocodeQuery::create($value)
62
            ->withLimit($this->limit);
63
64
        if (null !== $this->locale && '' !== $this->locale) {
65
            $query = $query->withLocale($this->locale);
66
        }
67
68
        if (!empty($this->bounds)) {
69
            $query = $query->withBounds($this->bounds);
@@ 83-85 (lines=3) @@
80
        $query = ReverseQuery::fromCoordinates($latitude, $longitude)
81
            ->withLimit($this->limit);
82
83
        if (null !== $this->locale && '' !== $this->locale) {
84
            $query = $query->withLocale($this->locale);
85
        }
86
87
        return $this->provider->reverseQuery($query);
88
    }