while upgrading to symfony 6.1
This commit is contained in:
@@ -15,10 +15,7 @@ use Symfony\Component\Security\Core\Exception\UserNotFoundException;
|
||||
*/
|
||||
class UserController extends AbstractController
|
||||
{
|
||||
/**
|
||||
* @param string $userName
|
||||
*
|
||||
*/
|
||||
|
||||
#[Route(path: '/profile/edit/{username}', name: 'app_profile_edit')]
|
||||
public function editProfile(UserRepository $userRepository, string $username = ''): Response
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user