mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-07-23 17:17:43 +00:00
fix phpstan issues
This commit is contained in:
parent
0a4913f341
commit
17612afd87
@ -25,11 +25,6 @@ parameters:
|
|||||||
count: 1
|
count: 1
|
||||||
path: src/Bundle/ChillActivityBundle/Repository/ActivityACLAwareRepository.php
|
path: src/Bundle/ChillActivityBundle/Repository/ActivityACLAwareRepository.php
|
||||||
|
|
||||||
-
|
|
||||||
message: "#^Access to an undefined property Chill\\\\PersonBundle\\\\Household\\\\MembersEditorFactory\\:\\:\\$validator\\.$#"
|
|
||||||
count: 2
|
|
||||||
path: src/Bundle/ChillPersonBundle/Household/MembersEditorFactory.php
|
|
||||||
|
|
||||||
-
|
-
|
||||||
message: "#^Variable variables are not allowed\\.$#"
|
message: "#^Variable variables are not allowed\\.$#"
|
||||||
count: 4
|
count: 4
|
||||||
|
@ -140,7 +140,7 @@ class MembersEditor
|
|||||||
->matching($criteria);
|
->matching($criteria);
|
||||||
|
|
||||||
foreach ($participations as $participation) {
|
foreach ($participations as $participation) {
|
||||||
$this->events[] = $event = new PersonAddressMoveEvent();
|
$this->events[] = $event = new PersonAddressMoveEvent($person);
|
||||||
$event->setPreviousMembership($participation);
|
$event->setPreviousMembership($participation);
|
||||||
$participation->setEndDate($date);
|
$participation->setEndDate($date);
|
||||||
$this->membershipsAffected[] = $participation;
|
$this->membershipsAffected[] = $participation;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user