Skip to content

Commit 71c5335

Browse files
committed
Minor tweaks
1 parent 3213ac5 commit 71c5335

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doctrine.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -821,8 +821,8 @@ control behavior:
821821
If true, the ``EntityValueResolver`` will not try to replace the argument.
822822

823823
``message``
824-
If a ``message`` option is configured, the value of the ``message`` option will be displayed in the development
825-
environment for the :class:`Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException` exception::
824+
An optional custom message displayed when there's a :class:`Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException`,
825+
but **only in the development environment** (you won't see this message in production)::
826826

827827
#[Route('/product/{product_id}')]
828828
public function show(

0 commit comments

Comments
 (0)