mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-04 13:54:59 +00:00
cs: Enable risky rule static_lambda
.
This commit is contained in:
@@ -329,7 +329,7 @@ class AccompanyingCourseApiControllerTest extends WebTestCase
|
||||
|
||||
// check that the person id is contained
|
||||
$participationsPersonsIds = array_map(
|
||||
function ($participation) { return $participation->person->id; },
|
||||
static function ($participation) { return $participation->person->id; },
|
||||
$data->participations
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user