Skip to content

Commit

Permalink
define argument keys on service redefinition
Browse files Browse the repository at this point in the history
  • Loading branch information
paulandrieux committed Jan 11, 2023
1 parent 4da09cb commit 77d0196
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Symfony/Bundle/Resources/config/api.xml
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@

<service id="api_platform.error_listener" class="ApiPlatform\Symfony\EventListener\ErrorListener">
<argument key="$controller">api_platform.action.exception</argument>
<argument type="service" id="logger" on-invalid="null">@logger</argument>
<argument>%kernel.debug%</argument>
<argument key="logger" type="service" id="logger" on-invalid="null" />
<argument key="$debug">%kernel.debug%</argument>
</service>
</services>
</container>

0 comments on commit 77d0196

Please sign in to comment.