Merge remote-tracking branch 'origin/feature/report-v2' into feature/report-v2
This commit is contained in:
commit
1c1825710d
@ -247,10 +247,9 @@ function getInvolvedUsers($snapshot, $report)
|
|||||||
$involvedUsers = $snapshot->getPlayers();
|
$involvedUsers = $snapshot->getPlayers();
|
||||||
$involvedUsers[$report->getSuspect()->getId()] = $report->getSuspect();
|
$involvedUsers[$report->getSuspect()->getId()] = $report->getSuspect();
|
||||||
|
|
||||||
/** @var UserReport $reporter */
|
|
||||||
foreach ($report->getReporters() as $reporterReason) {
|
foreach ($report->getReporters() as $reporterReason) {
|
||||||
$reporter = $reporterReason->getUser();
|
$reporter = $reporterReason->getUser();
|
||||||
$involvedUsers[$reporter->getUser()->getId()] = $reporter;
|
$involvedUsers[$reporter->getId()] = $reporter;
|
||||||
}
|
}
|
||||||
|
|
||||||
return $involvedUsers;
|
return $involvedUsers;
|
||||||
|
Loading…
Reference in New Issue
Block a user