Skip to content

Commit

Permalink
fix container linting in case twig or profiler service are unavailable
Browse files Browse the repository at this point in the history
  • Loading branch information
dmaicher authored and ostrolucky committed Dec 30, 2021
1 parent f6cbf18 commit f6191c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Resources/config/orm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,9 @@
</service>

<service id="Doctrine\Bundle\DoctrineBundle\Controller\ProfilerController">
<argument type="service" id="twig" on-invalid="ignore"/>
<argument type="service" id="twig" on-invalid="ignore_uninitialized"/>
<argument type="service" id="doctrine" />
<argument type="service" id="profiler" on-invalid="ignore" />
<argument type="service" id="profiler" on-invalid="ignore_uninitialized" />

<tag name="controller.service_arguments" />
</service>
Expand Down

0 comments on commit f6191c5

Please sign in to comment.