mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-30 18:39:43 +00:00
DX: rector rules upt to PHP 74
This commit is contained in:
@@ -161,9 +161,7 @@ final class HouseholdApiControllerTest extends WebTestCase
|
||||
$this->assertArrayHasKey('count', $data);
|
||||
$this->assertArrayHasKey('results', $data);
|
||||
|
||||
$householdIds = array_map(static function ($r) {
|
||||
return $r['id'];
|
||||
}, $data['results']);
|
||||
$householdIds = array_map(static fn($r) => $r['id'], $data['results']);
|
||||
|
||||
$this->assertContains($expectedHouseholdId, $householdIds);
|
||||
}
|
||||
|
Reference in New Issue
Block a user