Explorar o código

Use valid syntax for XML service reference

Adam Quaile %!s(int64=9) %!d(string=hai) anos
pai
achega
92f968fd39
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Resources/doc/reference/architecture.rst

+ 1 - 1
Resources/doc/reference/architecture.rst

@@ -75,7 +75,7 @@ your ``Admin`` services. This is done using a ``call`` to the matching ``setter`
               <argument>AppBundle\Entity\Post</argument>
               <argument />
               <call method="setLabelTranslatorStrategy">
-                  <argument>sonata.admin.label.strategy.underscore</argument>
+                  <argument type="service" id="sonata.admin.label.strategy.underscore" />
               </call>
           </service>