Skip to content

Commit

Permalink
Update 15-02-01-PHPDoc.md
Browse files Browse the repository at this point in the history
  • Loading branch information
echernyavskiy committed Oct 4, 2015
1 parent 9c34497 commit cf0394b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _posts/15-02-01-PHPDoc.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Inside the class, the first method has a [@param] tag documenting the type, name
being passed to the method. Additionally it has the [@return] and [@throws] tags for documenting the return type, and any exceptions that could be thrown respectively.

The second and third methods are very similar and have a single [@param] tag as did the first method. The important
difference between the second and third method's doc block is the inclusion/exclusion of the [@return] tag.
difference between the second and third methods' doc block is the inclusion/exclusion of the [@return] tag.
`@return void` explicitly informs us that there is no return; historically omitting the `@return void` statement also results in the same (no return) action.


Expand Down

0 comments on commit cf0394b

Please sign in to comment.