Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e3fa6aa

Browse filesBrowse files
committed
Fix file name not matching class name for value resolver
1 parent 68090fb commit e3fa6aa
Copy full SHA for e3fa6aa

File tree

1 file changed

+2
-2
lines changed
Filter options

1 file changed

+2
-2
lines changed

‎controller/value_resolver.rst

Copy file name to clipboardExpand all lines: controller/value_resolver.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ this argument) or an array with the resolved value(s). Usually arguments are
322322
resolved as a single value, but variadic arguments require resolving multiple
323323
values. That's why you must always return an array, even for single values::
324324

325-
// src/ValueResolver/IdentifierValueResolver.php
325+
// src/ValueResolver/BookingIdValueResolver.php
326326
namespace App\ValueResolver;
327327

328328
use App\IdentifierInterface;
@@ -469,7 +469,7 @@ As an alternative, you can add the
469469
:class:`Symfony\\Component\\HttpKernel\\Attribute\\AsTargetedValueResolver` attribute
470470
to your resolver and pass your custom name as its first argument::
471471

472-
// src/ValueResolver/IdentifierValueResolver.php
472+
// src/ValueResolver/BookingIdValueResolver.php
473473
namespace App\ValueResolver;
474474

475475
use Symfony\Component\HttpKernel\Attribute\AsTargetedValueResolver;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.