Last Updated: February 25, 2016
·
588
· gxela

Symfony 2.0 to 2.3 update, FOS UserBundle editAction

...Controller::editAction() should be compatible with FOS\UserBundle\Controller\ProfileController::editAction(Symfony\Component\HttpFoundation\Request $request)

add:

use Symfony\Component\HttpFoundation\Request;

change:

public function editAction()

to:

public function editAction(Request $request)

be compatible with:

FOS\UserBundle\Controller\ProfileController::editAction(Symfony\Component\HttpFoundation\Request $request)