Code Duplication    Length = 8-8 lines in 2 locations

src/Endpoints/Secondary/Neighborhoods.php 1 location

@@ 82-89 (lines=8) @@
79
     *
80
     * @return stdClass
81
     */
82
    public function save(DataReceiver $data)
83
    {
84
        return $this->run(
85
            'POST',
86
            'operacional/enderecos/localidade/'.$this->cityId.'/bairros',
87
            ['json' => $data->toArray()]
88
        );
89
    }
90
}
91

src/Endpoints/Secondary/Streets.php 1 location

@@ 84-91 (lines=8) @@
81
     *
82
     * @return stdClass
83
     */
84
    public function save(DataReceiver $data)
85
    {
86
        return $this->run(
87
            'POST',
88
            'operacional/enderecos/localidade/'.$this->cityId.'/bairros/'.$this->neighborhoodId.'/logradouro',
89
            ['json' => $data->toArray()]
90
        );
91
    }
92
}
93