Skip to content
This repository was archived by the owner on Jan 8, 2024. It is now read-only.

Commit f803cbc

Browse files
committed
Add dump for rawData in profiler
1 parent cd402cc commit f803cbc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Resources/views/data_collector/template.html.twig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{% block toolbar %}
44
{% set icon %}
55
<span class="icon">{{ include('@phpFastCache/data_collector/icon.svg') }}</span>
6-
<span class="sf-toolbar-value">{{ collector.size|sizeFormat }}</span>
6+
<span class="sf-toolbar-value">{{ collector.size|sizeFormat(1) }}</span>
77
{% endset %}
88

99
{{ include('@WebProfiler/Profiler/toolbar_item.html.twig') }}
@@ -30,15 +30,15 @@
3030
</tr>
3131
<tr>
3232
<th>Size</th>
33-
<td>{{ cache.stats.size|sizeFormat }}</td>
33+
<td>{{ cache.stats.size|sizeFormat(1) }}</td>
3434
</tr>
3535
<tr>
3636
<th>Data</th>
3737
<td>{{ cache.stats.data }}</td>
3838
</tr>
3939
<tr>
4040
<th>RawData</th>
41-
<td>{{ cache.stats.rawData }}</td>
41+
<td>{{ dump(cache.stats.rawData) }}</td>
4242
</tr>
4343
</tbody>
4444
</table>

0 commit comments

Comments
 (0)