|
@@ -106,7 +106,7 @@ class OrganizationCreationRequest
|
|
|
#[Assert\Positive]
|
|
#[Assert\Positive]
|
|
|
private int $parentId = OrganizationIdsEnum::_2IOS->value;
|
|
private int $parentId = OrganizationIdsEnum::_2IOS->value;
|
|
|
|
|
|
|
|
- private ?PrincipalTypeEnum $principalType = null;
|
|
|
|
|
|
|
+ private PrincipalTypeEnum $principalType;
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* Id d'une Person existante ou requête de création d'un nouvel access qui aura le
|
|
* Id d'une Person existante ou requête de création d'un nouvel access qui aura le
|
|
@@ -359,12 +359,12 @@ class OrganizationCreationRequest
|
|
|
return $this;
|
|
return $this;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- public function getPrincipalType(): ?PrincipalTypeEnum
|
|
|
|
|
|
|
+ public function getPrincipalType(): PrincipalTypeEnum
|
|
|
{
|
|
{
|
|
|
return $this->principalType;
|
|
return $this->principalType;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- public function setPrincipalType(?PrincipalTypeEnum $principalType): self
|
|
|
|
|
|
|
+ public function setPrincipalType(PrincipalTypeEnum $principalType): self
|
|
|
{
|
|
{
|
|
|
$this->principalType = $principalType;
|
|
$this->principalType = $principalType;
|
|
|
|
|
|