Commit 43de2c49 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

typage

parent 4257e532
Loading
Loading
Loading
Loading
+4 −4
Changes for module/Application/src/Entity/Db/Contrat.php: 4 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -134,9 +134,9 @@ class Contrat implements HistoriqueAwareInterface, ResourceInterface
    /**
     * Indique s'il s'agit d'un avenant.
     *
     * @return boolean
     * @return bool
     */
    public function estUnAvenant()
    public function estUnAvenant(): bool
    {
        return $this->getTypeContrat() && $this->getTypeContrat()->estUnAvenant();
    }
@@ -146,9 +146,9 @@ class Contrat implements HistoriqueAwareInterface, ResourceInterface
    /**
     * Indique s'il s'agit d'un projet de contrat/avenant.
     *
     * @return boolean
     * @return bool
     */
    public function estUnProjet()
    public function estUnProjet(): bool
    {
        return null === $this->getValidation();
    }