Skip to content

Commit

Permalink
[BUGFIX] Remove duplicate colon after "Returns"
Browse files Browse the repository at this point in the history
  • Loading branch information
linawolf committed May 15, 2024
1 parent 91219d4 commit 46f1af8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{{ renderNode(node.value) }}
{% if node.returnsDescription %}
<dl class="field-list simple">
<dt class="field-even">Returns:</dt>
<dt class="field-even">Returns</dt>
<dd class="field-even">
{{ renderNode(node.returnsDescription) }}
</dd>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@

<span class="sig-name descname"><span class="pre">{{ node.name }}</span></span>
<span class="sig-name descname">
{%- for modifier in node.modifiers -%}
<span class="pre php-modifier">{{- renderNode(modifier) }}{{ ' ' -}}</span>
{%- endfor -%}
<span class="pre">{{ node.name }}</span></span>
<span class="sig-paren">(</span>
{% for param in node.params -%}
<em class="sig-param"><span class="pre">{{ param }}</span></em>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h1>PHP methods with return value</h1>
<p>Get the date.</p>

<dl class="field-list simple">
<dt class="field-even">Returns:</dt>
<dt class="field-even">Returns</dt>
<dd class="field-even">

<p>Either false on failure, or the datetime object for method chaining.</p>
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/method-returns/expected/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h1>PHP methods with return value</h1>
<p>Lorem Ipsum</p>

<dl class="field-list simple">
<dt class="field-even">Returns:</dt>
<dt class="field-even">Returns</dt>
<dd class="field-even">
Something not specified...
</dd>
Expand Down

0 comments on commit 46f1af8

Please sign in to comment.