Skip to content

Commit 1cbd843

Browse files
committed
method-arguments.html.twig: Nowrap in arg name nor type
1 parent efde818 commit 1cbd843

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tools/php_api_ref/.phpdoc/template/components/method-arguments.html.twig

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
<tbody>
1313
{% for argument in node.arguments %}
1414
<tr>
15-
<td>
15+
<td style="white-space: nowrap;">
1616
${{ argument.name }}
1717
</td>
18-
<td>
18+
<td style="white-space: nowrap;">
1919
{{ argument.type|route('class:short')|join('|')|raw }}
2020
</td>
2121
<td {{ argument.default is not null ? 'class="empty"' }}>
@@ -24,8 +24,9 @@
2424
<td {{ node.description is not defined or node.description.empty ? 'class="empty"' }}>
2525
{% if node.description is not defined or node.description.empty %}
2626
-
27+
{% else %}
28+
{{ include('components/description.html.twig', {node: argument}) }}
2729
{% endif %}
28-
{{ include('components/description.html.twig', {node: argument}) }}
2930
</td>
3031
</tr>
3132
{% endfor %}

0 commit comments

Comments
 (0)