firstname field added to twig form for child or contact types

This commit is contained in:
2022-03-14 10:23:47 +01:00
parent 00787adf2b
commit a24cd693e3
6 changed files with 30 additions and 21 deletions

View File

@@ -463,12 +463,7 @@ class ThirdParty implements TrackCreationInterface, TrackUpdateInterface
return $this->email;
}
/**
* Get id.
*
* @return int
*/
public function getId()
public function getId(): ?int
{
return $this->id;
}
@@ -478,16 +473,16 @@ class ThirdParty implements TrackCreationInterface, TrackUpdateInterface
return $this->kind;
}
/**
* Get name.
*
* @return string
*/
public function getName()
public function getName(): string
{
return $this->name;
}
public function getFirstname(): string
{
return $this->firstname;
}
public function getNameCompany(): ?string
{
return $this->nameCompany;
@@ -782,20 +777,20 @@ class ThirdParty implements TrackCreationInterface, TrackUpdateInterface
return $this;
}
/**
* Set name.
*
* @param string $name
*
* @return ThirdParty
*/
public function setName($name)
public function setName($name): self
{
$this->name = $name;
return $this;
}
public function setFirstname($firstname): self
{
$this->firstname = $firstname;
return $this;
}
/**
* @param string $nameCompany
*/