Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions _posts/15-02-01-PHPDoc.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Below is an example of how you might document a class with a few methods;
<?php
/**
* @author A Name <[email protected]>
* @link https://www.phpdoc.org/docs/latest/index.html
* @link https://docs.phpdoc.org/
*/
class DateTimeHelper
{
Expand Down Expand Up @@ -70,10 +70,10 @@ difference between the second and third methods' doc block is the inclusion/excl
`@return void` explicitly informs us that there is no return; historically omitting the `@return void` statement also results in the same (no return) action.


[tags]: https://docs.phpdoc.org/latest/guide/references/phpdoc/tags/index.html
[PHPDoc manual]: https://docs.phpdoc.org/latest/index.html
[@author]: https://docs.phpdoc.org/latest/guide/references/phpdoc/tags/author.html
[@link]: https://docs.phpdoc.org/latest/guide/references/phpdoc/tags/link.html
[@param]: https://docs.phpdoc.org/latest/guide/references/phpdoc/tags/param.html
[@return]: https://docs.phpdoc.org/latest/guide/references/phpdoc/tags/return.html
[@throws]: https://docs.phpdoc.org/latest/guide/references/phpdoc/tags/throws.html
[tags]: https://docs.phpdoc.org/guide/references/phpdoc/tags/
[PHPDoc manual]: https://docs.phpdoc.org/
[@author]: https://docs.phpdoc.org/guide/references/phpdoc/tags/author.html
[@link]: https://docs.phpdoc.org/guide/references/phpdoc/tags/link.html
[@param]: https://docs.phpdoc.org/guide/references/phpdoc/tags/param.html
[@return]: https://docs.phpdoc.org/guide/references/phpdoc/tags/return.html
[@throws]: https://docs.phpdoc.org/guide/references/phpdoc/tags/throws.html