Invalid PHPDoc made me write bad code :P
This commit is contained in:
parent
ca835bb4c6
commit
d9240e1589
@ -247,10 +247,9 @@ function getInvolvedUsers($snapshot, $report)
|
||||
$involvedUsers = $snapshot->getPlayers();
|
||||
$involvedUsers[$report->getSuspect()->getId()] = $report->getSuspect();
|
||||
|
||||
/** @var UserReport $reporter */
|
||||
foreach ($report->getReporters() as $reporterReason) {
|
||||
$reporter = $reporterReason->getUser();
|
||||
$involvedUsers[$reporter->getUser()->getId()] = $reporter;
|
||||
$involvedUsers[$reporter->getId()] = $reporter;
|
||||
}
|
||||
|
||||
return $involvedUsers;
|
||||
|
Loading…
Reference in New Issue
Block a user