Skip to content

Commit b4e99f3

Browse files
Fixing CS in tags example
1 parent 951f1fa commit b4e99f3

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

components/dependency_injection/tags.rst

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,7 @@ custom tag::
128128
{
129129
public function process(ContainerBuilder $container)
130130
{
131-
if (false === $container->hasDefinition(
132-
'acme_mailer.transport_chain'
133-
)) {
131+
if (!$container->hasDefinition('acme_mailer.transport_chain')) {
134132
return;
135133
}
136134

@@ -252,9 +250,7 @@ use this, update the compiler::
252250
{
253251
public function process(ContainerBuilder $container)
254252
{
255-
if (false === $container->hasDefinition(
256-
'acme_mailer.transport_chain')
257-
) {
253+
if (!$container->hasDefinition('acme_mailer.transport_chain')) {
258254
return;
259255
}
260256

0 commit comments

Comments
 (0)