I'm like 6 hours old in working with symfony, and I really love the documentation, but this one bit I don't get what I'm doing wrong.
When calling my url:
/game/complete?personId=1&exerciseId=2 i get the error:
Could not resolve argument $personId of "App\Controller\GameController::complete()", maybe you forgot to register the controller as a service or missed tagging it with the "controller.service_arguments"?
Problem Solved: I was missing the params in my routing annotation, see updated file.