10000 [Validator][Doctrine] Add docs for automatic validation by dunglas · Pull Request #11132 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

[Validator][Doctrine] Add docs for automatic validation #11132

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 5 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix return type mistake
  • Loading branch information
dunglas committed Mar 31, 2019
commit fbe3e8b81fb80844ffb431123f63a7bb28f0cd14
4 changes: 2 additions & 2 deletions doctrine.rst
Original file line number Diff line number Diff line change
Expand Up @@ -347,9 +347,9 @@ and save it!
class ProductController extends AbstractController
{
/**
* @Route("/product", name="create_product"): Response
* @Route("/product", name="create_product")
*/
public function createProduct()
public function createProduct(): Response
{
// you can fetch the EntityManager via $this->getDoctrine()
// or you can add an argument to your action: index(EntityManagerInterface $entityManager)
Expand Down
0