mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-20 20:22:49 +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