diff --git a/src/Controller/ApiAnrRecommendationsController.php b/src/Controller/ApiAnrRecommendationsController.php index 44f0de5d..50b6382a 100755 --- a/src/Controller/ApiAnrRecommendationsController.php +++ b/src/Controller/ApiAnrRecommendationsController.php @@ -24,7 +24,8 @@ public function __construct( private GetRecommendationsInputFormatter $getRecommendationsInputFormatter, private PostRecommendationDataInputValidator $postRecommendationDataInputValidator, private PatchRecommendationDataInputValidator $patchRecommendationDataInputValidator - ) {} + ) { + } public function getList() { diff --git a/src/Service/AnrRecommendationRiskService.php b/src/Service/AnrRecommendationRiskService.php index 685449d7..fdff4b0e 100755 --- a/src/Service/AnrRecommendationRiskService.php +++ b/src/Service/AnrRecommendationRiskService.php @@ -200,7 +200,7 @@ public function getTreatmentPlan(Entity\Anr $anr): array $instanceRiskData = [ 'id' => $instanceRisk->getId(), 'cacheNetRisk' => $instanceRisk->getCacheNetRisk(), - 'cacheTargetRisk' => $instanceRisk->getCacheTargetedRisk(), + 'cacheTargetedRisk' => $instanceRisk->getCacheTargetedRisk(), 'comment' => $instanceRisk->getComment(), ]; } else { @@ -551,7 +551,7 @@ private function getPreparedRecommendationRiskData( 'id' => $recommendationRisk->getInstanceRisk()->getId(), 'kindOfMeasure' => $recommendationRisk->getInstanceRisk()->getKindOfMeasure(), 'cacheMaxRisk' => $recommendationRisk->getInstanceRisk()->getCacheMaxRisk(), - 'cacheTargetRisk' => $recommendationRisk->getInstanceRisk()->getCacheTargetedRisk(), + 'cacheTargetedRisk' => $recommendationRisk->getInstanceRisk()->getCacheTargetedRisk(), ]; } if ($recommendationRisk->getInstanceRiskOp()) { @@ -559,7 +559,7 @@ private function getPreparedRecommendationRiskData( 'id' => $recommendationRisk->getInstanceRiskOp()->getId(), 'kindOfMeasure' => $recommendationRisk->getInstanceRiskOp()->getKindOfMeasure(), 'cacheNetRisk' => $recommendationRisk->getInstanceRiskOp()->getCacheNetRisk(), - 'cacheTargetRisk' => $recommendationRisk->getInstanceRiskOp()->getCacheTargetedRisk(), + 'cacheTargetedRisk' => $recommendationRisk->getInstanceRiskOp()->getCacheTargetedRisk(), ], $recommendationRisk->getInstanceRiskOp()->getRiskCacheLabels()); } }