chore: rename methods to better reflect their function
This commit is contained in:
@@ -54,7 +54,7 @@ class AssignmentVoter extends Voter
|
||||
$dispositions = $this
|
||||
->entityManager
|
||||
->getRepository(Disposition::class)
|
||||
->getCurrentByAssignment($assignment)
|
||||
->findCurrentDispositionsByAssignment($assignment)
|
||||
;
|
||||
|
||||
return count($dispositions) < $availableSlots;
|
||||
|
||||
Reference in New Issue
Block a user