Simplify variables pass in & out of function
authorEileen McNaughton <emcnaughton@wikimedia.org>
Sun, 9 Jan 2022 23:52:45 +0000 (12:52 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 10 Jan 2022 03:32:15 +0000 (16:32 +1300)
commit6a315d733bc671854e92aa650d1b7111f70fc033
treee42c96aa6383f307bc9fa402fe590ba602109460
parentb2d2768e26d676133323d02f71301345a64bac5a
Simplify variables pass in & out of function

Rather than compiling an array, pass in the 3 values. Also
its now obvious that there is only a max of 1 contact_check in the function
so just return rather than 'continuing' (allowing us to de-loop in a more
whitespacey follow up)
CRM/Contact/BAO/Contact/Utils.php
tests/phpunit/api/v3/AddressTest.php