DX [phpstan] fixes

This commit is contained in:
2023-05-24 14:02:49 +02:00
parent a31c4063a1
commit f5448f9d95
2 changed files with 5 additions and 7 deletions

View File

@@ -247,7 +247,7 @@ class PersonDuplicateController extends Controller
);
$duplicatePersons = $this->similarPersonMatcher->
matchPerson($person, 0.5, SimilarPersonMatcher::SIMILAR_SEARCH_ORDER_BY_ALPHABETICAL, false, $personNotDuplicateRepository);
matchPerson($person, 0.5, SimilarPersonMatcher::SIMILAR_SEARCH_ORDER_BY_ALPHABETICAL, false);
$notDuplicatePersons = $personNotDuplicateRepository->findNotDuplicatePerson($person);
@@ -271,7 +271,7 @@ class PersonDuplicateController extends Controller
return [
'nb_activity' => count($nb_activity),
'nb_document' => count($nb_document),
// 'nb_event' => count($nb_event),
// 'nb_event' => count($nb_event),
'nb_task' => $nb_task,
'nb_addresses' => count($person->getAddresses()),
];