Skip to content

Commit c3485c8

Browse files
authored
reflection: Delete outdated paragraph in hasreturntype.xml (#5610)
1 parent 23e4fb4 commit c3485c8

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

reference/reflection/reflectionfunctionabstract/hasreturntype.xml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
<![CDATA[
3939
<?php
4040
41-
function to_int($param) : int {
41+
function to_int($param): int
42+
{
4243
return (int) $param;
4344
}
4445
@@ -73,11 +74,6 @@ bool(false)
7374
</screen>
7475
</example>
7576
</para>
76-
<para>
77-
This is because many internal functions do not have types specified for their
78-
parameters or return values. It is therefore best to avoid using this
79-
method on built-in functions.
80-
</para>
8177
</refsect1>
8278

8379
<refsect1 role="seealso">

0 commit comments

Comments
 (0)