Skip to content

Commit 92c6fbb

Browse files
committed
slight adjustments in return tag
1 parent c2eaf72 commit 92c6fbb

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

proposed/phpdoc-tags.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -696,13 +696,9 @@ RECOMMENDED in case of complicated return structures, such as associative arrays
696696
The @return tag MAY have a multi-line description and does not need explicit
697697
delimiting.
698698

699-
It is RECOMMENDED to use this tag with every function and method. An exception to
700-
this recommendation, as defined by the Coding Standard of any individual project,
701-
MAY be:
702-
703-
**functions and methods without a `return` value**: the @return tag MAY be
704-
omitted here, in which case an interpreter MUST interpret this as if
705-
`@return void` is provided.
699+
It is RECOMMENDED to use this tag with every function and method. The @return
700+
tag MAY be omitted by functions and methods without a `return` value, in which
701+
case an interpreter MUST interpret this as if `@return void` is provided.
706702

707703
This tag MUST NOT occur more than once in a "DocBlock" and is limited to the
708704
"DocBlock" of a "Structural Element" of a method or function.

0 commit comments

Comments
 (0)