Skip to content

Commit deec2db

Browse files
committed
Update the description of the documentation
1 parent 7219eae commit deec2db

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Standards/PSR12/Docs/Functions/ReturnTypeDeclarationStandard.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<documentation title="Return Type Declaration">
22
<standard>
33
<![CDATA[
4-
For functions and closures, the return type declaration must be correctly defined.
4+
For function and closure return type declarations, there must be one space after the colon followed by the type declaration, and no space before the colon.
5+
6+
The colon and the return type declaration have to be on the same line as the argument list closing parenthesis.
57
]]>
68
</standard>
79
<code_comparison>

0 commit comments

Comments
 (0)