Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
as6325400 committed Oct 27, 2024
1 parent d9bcfbb commit f351495
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webapp/src/Controller/Jury/ClarificationController.php
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,8 @@ public function changeQueueAction(Request $request, int $clarId): Response
public function checkIfClaimed(Request $request): Response
{
$clarid = $request->query->get('clarid');
$currentUserName = $this->getUser()->getUsername();
$currentUser = $this->getUser();
$currentUserName = $currentUser->getUsername();

Check failure on line 354 in webapp/src/Controller/Jury/ClarificationController.php

View workflow job for this annotation

GitHub Actions / phpstan

Call to an undefined method Symfony\Component\Security\Core\User\UserInterface::getUsername().

$queryBuilder = $this->em->createQueryBuilder()
->select('clar.jury_member')
Expand Down

0 comments on commit f351495

Please sign in to comment.