Skip to content

Commit fc2c891

Browse files
committed
Merging #341
1 parent 3345919 commit fc2c891

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

cookbook/service_container/event_listener.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,15 +116,14 @@ très facilement comme ceci::
116116
if (HttpKernel::MASTER_REQUEST != $event->getRequestType()) {
117117
// ne rien faire si c'est la requête principale
118118
return;
119-
}
119+
}
120120
121121
// ...
122-
}
123122
}
124123
}
125124
126125
.. tip::
127126

128127
Deux types de requête sont disponibles dans l'interface
129128
:class:`Symfony\\Component\\HttpKernel\\HttpKernelInterface` :
130-
``HttpKernelInterface::MASTER_REQUEST`` et ``HttpKernelInterface::SUB_REQUEST``.
129+
``HttpKernelInterface::MASTER_REQUEST`` et ``HttpKernelInterface::SUB_REQUEST``.

0 commit comments

Comments
 (0)