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

Skip to content

Commit bdb7399

Browse files
neghmurkenOskarStark
authored andcommitted
[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 0ae3351 commit bdb7399

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
@@ -227,7 +227,7 @@ with the ``doctrine.event_listener`` tag:
227227
228228
use App\EventListener\SearchIndexer;
229229
230-
return static function (ContainerConfigurator $container) {
230+
return static function (ContainerConfigurator $configurator) {
231231
$services = $configurator->services();
232232
233233
// listeners are applied by default to all Doctrine connections

0 commit comments

Comments
 (0)
0