Atualizando o arquivo clients_save.php para companies_save.php
This commit is contained in:
parent
450802cfbe
commit
b8de480acb
1 changed files with 3 additions and 3 deletions
|
|
@ -286,7 +286,7 @@ class CompaniesValidate
|
|||
}
|
||||
|
||||
/** Método trata campo city */
|
||||
public function setCity(string $city) : void
|
||||
public function setCityId(string $city) : void
|
||||
{
|
||||
|
||||
/** Trata a entrada da informação */
|
||||
|
|
@ -640,11 +640,11 @@ class CompaniesValidate
|
|||
}
|
||||
|
||||
/** Método retorna campo city */
|
||||
public function getCity() : ? string
|
||||
public function getCityId() : ? int
|
||||
{
|
||||
|
||||
/** Retorno da informação */
|
||||
return $this->city;
|
||||
return (int)$this->city;
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue