Commit 91c77e11 authored by Thibaut Vallee's avatar Thibaut Vallee
Browse files

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

parent 2e2e2822
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -8,12 +8,12 @@ use UnicaenUtilisateur\Entity\Db\HistoriqueAwareTrait;
class ValidationInstance implements HistoriqueAwareInterface {
    use HistoriqueAwareTrait;

    private int $id;
    private ?int $id = null;
    private ?ValidationType $type = null;
    private bool $refus = false;
    private ?string $justification = null;
    
    public function getId() : int
    public function getId() : ?int
    {
        return $this->id;
    }