Merge pull request #1016 from Xymph/fix-phpdoc-links

Fix PHPDoc links (fixes #1015)
This commit is contained in:
Xymph
2025-01-03 17:30:20 +01:00
committed by GitHub

View File

@@ -15,7 +15,7 @@ Below is an example of how you might document a class with a few methods;
<?php <?php
/** /**
* @author A Name <a.name@example.com> * @author A Name <a.name@example.com>
* @link https://www.phpdoc.org/docs/latest/index.html * @link https://docs.phpdoc.org/
*/ */
class DateTimeHelper 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. `@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 [tags]: https://docs.phpdoc.org/guide/references/phpdoc/tags/
[PHPDoc manual]: https://docs.phpdoc.org/latest/index.html [PHPDoc manual]: https://docs.phpdoc.org/
[@author]: https://docs.phpdoc.org/latest/guide/references/phpdoc/tags/author.html [@author]: https://docs.phpdoc.org/guide/references/phpdoc/tags/author.html
[@link]: https://docs.phpdoc.org/latest/guide/references/phpdoc/tags/link.html [@link]: https://docs.phpdoc.org/guide/references/phpdoc/tags/link.html
[@param]: https://docs.phpdoc.org/latest/guide/references/phpdoc/tags/param.html [@param]: https://docs.phpdoc.org/guide/references/phpdoc/tags/param.html
[@return]: https://docs.phpdoc.org/latest/guide/references/phpdoc/tags/return.html [@return]: https://docs.phpdoc.org/guide/references/phpdoc/tags/return.html
[@throws]: https://docs.phpdoc.org/latest/guide/references/phpdoc/tags/throws.html [@throws]: https://docs.phpdoc.org/guide/references/phpdoc/tags/throws.html