From d9240e15890d309721a8390c87c177a1a06774cb Mon Sep 17 00:00:00 2001 From: Keir Nellyer Date: Mon, 18 Jul 2016 19:29:05 +0100 Subject: [PATCH] Invalid PHPDoc made me write bad code :P --- Plugins/Mineplex.ReportSite/view.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Plugins/Mineplex.ReportSite/view.php b/Plugins/Mineplex.ReportSite/view.php index 8b51d1b05..754e78fe6 100644 --- a/Plugins/Mineplex.ReportSite/view.php +++ b/Plugins/Mineplex.ReportSite/view.php @@ -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;