Commit 1e5521f3 authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

correction #51692

parent b4dea317
Loading
Loading
Loading
Loading
+39 −39
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@ class Structure implements HistoriqueAwareInterface, ResourceInterface, ImportAw
    use ImportAwareTrait;
    use HistoriqueAwareTrait;

    protected int        $id;
    protected ?int       $id                = null;

    protected ?string    $code              = null;

@@ -58,7 +58,7 @@ class Structure implements HistoriqueAwareInterface, ResourceInterface, ImportAw



    public function getId(): int
    public function getId (): ?int
    {
        return $this->id;
    }
@@ -81,22 +81,6 @@ class Structure implements HistoriqueAwareInterface, ResourceInterface, ImportAw



    public function getLibelleCourt(): ?string
    {
        return $this->libelleCourt;
    }



    public function setLibelleCourt(?string $libelleCourt): Structure
    {
        $this->libelleCourt = $libelleCourt;

        return $this;
    }



    public function getLibelleLong (): ?string
    {
        return $this->libelleLong;
@@ -249,6 +233,22 @@ class Structure implements HistoriqueAwareInterface, ResourceInterface, ImportAw



    public function getLibelleCourt (): ?string
    {
        return $this->libelleCourt;
    }



    public function setLibelleCourt (?string $libelleCourt): Structure
    {
        $this->libelleCourt = $libelleCourt;

        return $this;
    }



    public function getLibelle (): string
    {
        return $this->getLibelleCourt();