8000 [Doctrine/Events] Fix bad argument name in example · symfony/symfony-docs@efca9c1 · GitHub
[go: up one dir, main page]

Skip to content

Commit efca9c1

Browse files
authored
[Doctrine/Events] Fix bad argument name in example
The ContainerConfigurator variable name used in method argument did not match the name used in the method body
1 parent 3e417bf commit efca9c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doctrine/events.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ with the ``doctrine.event_listener`` tag:
200200
201201
use App\EventListener\SearchIndexer;
202202
203-
return static function (ContainerConfigurator $container) {
203+
return static function (ContainerConfigurator $configurator) {
204204
$services = $configurator->services();
205205
206206
// listeners are applied by default to all Doctrine connections

0 commit comments

Comments
 (0)
0