diff --git a/src/JansenFelipe/CepGratis/CepGratis.php b/src/JansenFelipe/CepGratis/CepGratis.php index 73b9529..222d106 100644 --- a/src/JansenFelipe/CepGratis/CepGratis.php +++ b/src/JansenFelipe/CepGratis/CepGratis.php @@ -36,7 +36,7 @@ public static function consulta($cep) { 'bairro' => $tr->filter("td:nth-child(2)")->html(), 'cidade' => $tr->filter("td:nth-child(3)")->html(), 'uf' => $tr->filter("td:nth-child(4)")->html(), - 'cep' => $tr->filter("td:nth-child(5)")->html() + 'cep' => Utils::unmask($tr->filter("td:nth-child(5)")->html()) ); $aux = explode(" - ", $retorno['logradouro']);