Feature: add thirdParty choice in docgen accperiodworkevaluation context - phpcs fix again

This commit is contained in:
nobohan
2023-05-25 10:15:22 +02:00
parent 6232dabae5
commit ad1b28ff11
3 changed files with 20 additions and 20 deletions

View File

@@ -121,11 +121,11 @@ class AccompanyingPeriodWorkEvaluationContext implements
array_filter([$entity->getAccompanyingPeriodWork()->getHandlingThierParty()]),
array_filter(
array_map(
fn (Resource $r): ?ThirdParty => $r->getThirdParty(),
$entity->getAccompanyingPeriodWork()->getAccompanyingPeriod()->getResources()->filter(
static fn (Resource $r): bool => null !== $r->getThirdParty()
)->toArray()
)
fn (Resource $r): ?ThirdParty => $r->getThirdParty(),
$entity->getAccompanyingPeriodWork()->getAccompanyingPeriod()->getResources()->filter(
static fn (Resource $r): bool => null !== $r->getThirdParty()
)->toArray()
)
)
);