Skip to content

Commit 69bd677

Browse files
committed
Fixed some issues
1 parent 93bd994 commit 69bd677

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cookbook/profiler/data_collector.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ the ``data_collector`` tag in your service configuration:
246246
name: data_collector
247247
template: 'data_collector/template.html.twig'
248248
id: 'app.my_collector'
249-
public: false
249+
public: false
250250
251251
.. code-block:: xml
252252
@@ -258,8 +258,8 @@ the ``data_collector`` tag in your service configuration:
258258
http://symfony.com/schema/dic/services/services-1.0.xsd"
259259
>
260260
<services>
261-
<service id="app.my_collector" class="AppBundle\DataCollector\MyCollector">
262-
<tag name="data_collector" template="data_collector/template.html.twig" id="app.my_collector" public="false" />
261+
<service id="app.my_collector" class="AppBundle\DataCollector\MyCollector" public="false">
262+
<tag name="data_collector" template="data_collector/template.html.twig" id="app.my_collector" />
263263
</service>
264264
</services>
265265
</container>
@@ -293,7 +293,7 @@ want your collector to be displayed before them, use a higher value:
293293
app.my_collector:
294294
class: AppBundle\DataCollector\MyCollector
295295
tags:
296-
- { name: data_collector, template: '...', id: '...', priority: '300' }
296+
- { name: data_collector, template: '...', id: '...', priority: 300 }
297297
298298
.. code-block:: xml
299299

0 commit comments

Comments
 (0)