From 7efdea4758535f2ce76802c4aae000a4a354f5b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C5=A0pa=C4=8Dek?= Date: Sat, 14 May 2022 23:50:12 +0200 Subject: [PATCH] Ref not needed --- site/app/Admin/Presenters/TrainingsPresenter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/app/Admin/Presenters/TrainingsPresenter.php b/site/app/Admin/Presenters/TrainingsPresenter.php index 91441ec1c..4354aba3f 100644 --- a/site/app/Admin/Presenters/TrainingsPresenter.php +++ b/site/app/Admin/Presenters/TrainingsPresenter.php @@ -231,7 +231,7 @@ public function renderPastWithPersonalData(): void /** * @param Row[] $trainings */ - private function addApplications(array &$trainings): void + private function addApplications(array $trainings): void { foreach ($trainings as $training) { $training->applications = $this->trainingApplications->getValidByDate($training->dateId);