chore: bump project to php 8.5

This commit is contained in:
fromme committed 2026-10-01 09:55:34 +02:00
1 parent 838b8944a2
commit 1446211d22
8 files changed
+35 -10

No files matched your search

+8 -1
View File
@@ -31,7 +31,14 @@ class ContactController extends AbstractController
];
foreach ($allContacts as $contact) {
$contacts[$contact->getCategory()][] = $contact;
// Only the three categories seeded above are rendered, so a contact without
// one would land in a bucket nobody shows.
$category = $contact->getCategory();
if (null === $category || false === isset($contacts[$category])) {
continue;
}
$contacts[$category][] = $contact;
}
return $this->render('teamer/contact/index.html.twig', [