File tree 2 files changed +3
-3
lines changed
phpdotnet/phd/Package/PHP
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -693,7 +693,7 @@ public function format_type_text($type, $tagname) {
693
693
break ;
694
694
case "false " :
695
695
case "true " :
696
- $ href = "language.types.value " ;
696
+ $ href = "language.types.singleton " ;
697
697
break ;
698
698
case "null " :
699
699
if ($ this ->simple_nullable ) {
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ Content:
46
46
47
47
<div class="section">
48
48
<p class="para">%d. Function/method with union return type</p>
49
- <div class="methodsynopsis dc-description"><span class="methodname"><strong>function_name</strong></span>(): <span class="type"><span class="type"><a href="language.types.integer.html" class="type int">int</a></span>|<span class="type"><a href="language.types.float.html" class="type float">float</a></span>|<span class="type"><a href="language.types.value .html" class="type false">false</a></span></span></div>
49
+ <div class="methodsynopsis dc-description"><span class="methodname"><strong>function_name</strong></span>(): <span class="type"><span class="type"><a href="language.types.integer.html" class="type int">int</a></span>|<span class="type"><a href="language.types.float.html" class="type float">float</a></span>|<span class="type"><a href="language.types.singleton .html" class="type false">false</a></span></span></div>
50
50
51
51
</div>
52
52
@@ -58,7 +58,7 @@ Content:
58
58
59
59
<div class="section">
60
60
<p class="para">%d. Function/method with nullable union return type</p>
61
- <div class="methodsynopsis dc-description"><span class="methodname"><strong>function_name</strong></span>(): <span class="type"><span class="type"><a href="language.types.string.html" class="type string">string</a></span>|<span class="type"><a href="language.types.array.html" class="type array">array</a></span>|<span class="type"><a href="language.types.resource.html" class="type resource">resource</a></span>|<span class="type"><a href="language.types.callable.html" class="type callable">callable</a></span>|<span class="type"><a href="language.types.iterable.html" class="type iterable">iterable</a></span>|<span class="type"><a href="language.types.value .html" class="type true">true</a></span>|<span class="type"><a href="language.types.null.html" class="type null">null</a></span></span></div>
61
+ <div class="methodsynopsis dc-description"><span class="methodname"><strong>function_name</strong></span>(): <span class="type"><span class="type"><a href="language.types.string.html" class="type string">string</a></span>|<span class="type"><a href="language.types.array.html" class="type array">array</a></span>|<span class="type"><a href="language.types.resource.html" class="type resource">resource</a></span>|<span class="type"><a href="language.types.callable.html" class="type callable">callable</a></span>|<span class="type"><a href="language.types.iterable.html" class="type iterable">iterable</a></span>|<span class="type"><a href="language.types.singleton .html" class="type true">true</a></span>|<span class="type"><a href="language.types.null.html" class="type null">null</a></span></span></div>
62
62
63
63
</div>
64
64
You can’t perform that action at this time.
0 commit comments