Commit a11a54d9 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

[FIX] Le code d'une structure peut être null.

parent c932d017
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -193,9 +193,9 @@ class Structure implements StructureInterface, HistoriqueAwareInterface, SourceA
    /**
     * Get Code
     *
     * @return string
     * @return string|null
     */
    public function getCode(): string
    public function getCode(): ?string
    {
//        if ($this->code !== null) return $this->code;
//        if ($this->sourceCode !== null) {