From b066f30128b11203b5b3cf6712f3545e131980e2 Mon Sep 17 00:00:00 2001 From: Stefan Matei Date: Wed, 12 Jun 2024 12:21:19 +0300 Subject: [PATCH] updated interface to php8 --- Model/CompanyInterface.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Model/CompanyInterface.php b/Model/CompanyInterface.php index 1aed5ae..3cdb420 100755 --- a/Model/CompanyInterface.php +++ b/Model/CompanyInterface.php @@ -16,27 +16,27 @@ interface CompanyInterface public function getLongName(); - public function setLongName($longName); + public function setLongName(string $longName); public function getCif(); - public function setCif($cif); + public function setCif(string $cif); public function getAddress(); - public function setAddress($address); + public function setAddress(?string $address); public function getCity(); - public function setCity($city); + public function setCity(?string $city); public function getCountry(); - public function setCountry($country); + public function setCountry(string $country); - public function setRegistrationNumber($registrationNumber); + public function setRegistrationNumber(?string $registrationNumber); public function getRegistrationNumber(); - public function setIsVatPayer($isVatPayer); + public function setIsVatPayer(bool $isVatPayer); } \ No newline at end of file