DX: more code style fixes

This commit is contained in:
2022-11-02 14:06:10 +01:00
parent 5655f953d7
commit 055acbf43c
21 changed files with 131 additions and 47 deletions

View File

@@ -111,7 +111,9 @@ final class MembersEditorTest extends TestCase
$this->assertCount(1, $notSharing);
$this->assertCount(1, $sharings);
$getPerson = static function (HouseholdMember $m) { return $m->getPerson(); };
$getPerson = static function (HouseholdMember $m) {
return $m->getPerson();
};
$this->assertContains($person, $notSharing->map($getPerson));
}
@@ -151,7 +153,9 @@ final class MembersEditorTest extends TestCase
$this->assertCount(1, $notSharing);
$this->assertCount(0, $sharings);
$getPerson = static function (HouseholdMember $m) { return $m->getPerson(); };
$getPerson = static function (HouseholdMember $m) {
return $m->getPerson();
};
$this->assertContains($person, $notSharing->map($getPerson));
}