Loading module/OffreFormation/src/Entity/NiveauEtape.php +2 −2 Changes for module/OffreFormation/src/Entity/NiveauEtape.php: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -155,8 +155,8 @@ class NiveauEtape { $this->etape = $etape; $this->niv = $this->etape->getNiveau(); $this->lib = $this->etape->getTypeFormation()->getGroupe()->getLibelleCourt(); $this->pertinence = $this->etape->getTypeFormation()->getGroupe()->getPertinenceNiveau(); $this->lib = $this->etape->getTypeFormation()->getGroupe()?->getLibelleCourt(); $this->pertinence = $this->etape->getTypeFormation()->getGroupe()?->getPertinenceNiveau(); return $this; } Loading module/OffreFormation/src/Service/OffreFormationService.php +2 −2 Changes for module/OffreFormation/src/Service/OffreFormationService.php: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -72,7 +72,7 @@ class OffreFormationService extends AbstractEntityService OffreFormation\Entity\Db\Etape e JOIN e.structure s JOIN e.typeFormation tf JOIN tf.groupe gtf LEFT JOIN tf.groupe gtf LEFT JOIN e.elementPedagogique ep LEFT JOIN ep.structure epstr LEFT JOIN ep.volumeHoraireEns vme Loading Loading @@ -101,7 +101,7 @@ class OffreFormationService extends AbstractEntityService if ($object instanceof Etape) { $n = NiveauEtape::getInstanceFromEtape($object); if ($object->estNonHistorise()) { $gtf = $object->getTypeFormation()->getGroupe()->getPertinenceNiveau(); $gtf = $object->getTypeFormation()->getGroupe()?->getPertinenceNiveau(); if ($gtf) { $niveaux[$n->getId()] = $n; } else { Loading Loading
module/OffreFormation/src/Entity/NiveauEtape.php +2 −2 Changes for module/OffreFormation/src/Entity/NiveauEtape.php: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -155,8 +155,8 @@ class NiveauEtape { $this->etape = $etape; $this->niv = $this->etape->getNiveau(); $this->lib = $this->etape->getTypeFormation()->getGroupe()->getLibelleCourt(); $this->pertinence = $this->etape->getTypeFormation()->getGroupe()->getPertinenceNiveau(); $this->lib = $this->etape->getTypeFormation()->getGroupe()?->getLibelleCourt(); $this->pertinence = $this->etape->getTypeFormation()->getGroupe()?->getPertinenceNiveau(); return $this; } Loading
module/OffreFormation/src/Service/OffreFormationService.php +2 −2 Changes for module/OffreFormation/src/Service/OffreFormationService.php: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -72,7 +72,7 @@ class OffreFormationService extends AbstractEntityService OffreFormation\Entity\Db\Etape e JOIN e.structure s JOIN e.typeFormation tf JOIN tf.groupe gtf LEFT JOIN tf.groupe gtf LEFT JOIN e.elementPedagogique ep LEFT JOIN ep.structure epstr LEFT JOIN ep.volumeHoraireEns vme Loading Loading @@ -101,7 +101,7 @@ class OffreFormationService extends AbstractEntityService if ($object instanceof Etape) { $n = NiveauEtape::getInstanceFromEtape($object); if ($object->estNonHistorise()) { $gtf = $object->getTypeFormation()->getGroupe()->getPertinenceNiveau(); $gtf = $object->getTypeFormation()->getGroupe()?->getPertinenceNiveau(); if ($gtf) { $niveaux[$n->getId()] = $n; } else { Loading