mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-07 14:36:29 +02:00
Merge pull request #1016 from Xymph/fix-phpdoc-links
Fix PHPDoc links (fixes #1015)
This commit is contained in:
@@ -15,7 +15,7 @@ Below is an example of how you might document a class with a few methods;
|
||||
<?php
|
||||
/**
|
||||
* @author A Name <a.name@example.com>
|
||||
* @link https://www.phpdoc.org/docs/latest/index.html
|
||||
* @link https://docs.phpdoc.org/
|
||||
*/
|
||||
class DateTimeHelper
|
||||
{
|
||||
@@ -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
|
||||
|
Reference in New Issue
Block a user