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)
Written by Alex Goretoy
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Update
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#