Loading module/Application/src/Entity/Db/Contrat.php +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 Loading @@ -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(); } Loading @@ -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(); } Loading Loading
module/Application/src/Entity/Db/Contrat.php +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 Loading @@ -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(); } Loading @@ -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(); } Loading