8000 CS fix · symfony/symfony@380e709 · GitHub
[go: up one dir, main page]

Skip to content

Commit 380e709

Browse files
CS fix
1 parent 3ee8d38 commit 380e709

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

src/Symfony/Bundle/FrameworkBundle/Console/Descriptor/XmlDescriptor.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -294,10 +294,8 @@ private function getContainerServicesDocument(ContainerBuilder $builder, string
294294
continue;
295295
}
296296

297-
if ($service instanceof Definition) {
298-
if ($service->hasTag('container.excluded')) {
299-
continue;
300-
}
297+
if ($service instanceof Definition && $service->hasTag('container.excluded')) {
298+
continue;
301299
}
302300

303301
$serviceXML = $this->getContainerServiceDocument($service, $serviceId, null, $showArguments);
Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
<?php
22

3-
declare(strict_types=1);
4-
53
namespace Symfony\Bundle\FrameworkBundle\Tests\Fixtures;
64

7-
/**
8-
* @author Maksim Vorozhtsov <myks1992@mail.ru>
9-
*/
105
class ContainerExcluded
116
{
127
}

0 commit comments

Comments
 (0)
0