Skip to content
Snippets Groups Projects
Commit 91c77e11 authored by Thibaut Vallee's avatar Thibaut Vallee
Browse files

Correctif mineur : initialisation a null de l'id pour Php8

parent 2e2e2822
No related branches found
No related tags found
No related merge requests found
Pipeline #26117 passed
...@@ -8,12 +8,12 @@ use UnicaenUtilisateur\Entity\Db\HistoriqueAwareTrait; ...@@ -8,12 +8,12 @@ use UnicaenUtilisateur\Entity\Db\HistoriqueAwareTrait;
class ValidationInstance implements HistoriqueAwareInterface { class ValidationInstance implements HistoriqueAwareInterface {
use HistoriqueAwareTrait; use HistoriqueAwareTrait;
private int $id; private ?int $id = null;
private ?ValidationType $type = null; private ?ValidationType $type = null;
private bool $refus = false; private bool $refus = false;
private ?string $justification = null; private ?string $justification = null;
public function getId() : int public function getId() : ?int
{ {
return $this->id; return $this->id;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment