mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-02-26 18:20:01 +00:00
cs: Enable risky rule static_lambda.
This commit is contained in:
@@ -151,7 +151,7 @@ class HouseholdApiControllerTest extends WebTestCase
|
||||
$this->assertArrayHasKey('count', $data);
|
||||
$this->assertArrayHasKey('results', $data);
|
||||
|
||||
$householdIds = array_map(function ($r) {
|
||||
$householdIds = array_map(static function ($r) {
|
||||
return $r['id'];
|
||||
}, $data['results']);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user