Skip to content

Commit 2d288e7

Browse files
authored
Merge pull request #1016 from Xymph/fix-phpdoc-links
Fix PHPDoc links (fixes #1015)
2 parents 5d16db2 + a3c3be7 commit 2d288e7

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

_posts/15-02-01-PHPDoc.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Below is an example of how you might document a class with a few methods;
1515
<?php
1616
/**
1717
* @author A Name <[email protected]>
18-
* @link https://www.phpdoc.org/docs/latest/index.html
18+
* @link https://docs.phpdoc.org/
1919
*/
2020
class DateTimeHelper
2121
{
@@ -70,10 +70,10 @@ difference between the second and third methods' doc block is the inclusion/excl
7070
`@return void` explicitly informs us that there is no return; historically omitting the `@return void` statement also results in the same (no return) action.
7171

7272

73-
[tags]: https://docs.phpdoc.org/latest/guide/references/phpdoc/tags/index.html
74-
[PHPDoc manual]: https://docs.phpdoc.org/latest/index.html
75-
[@author]: https://docs.phpdoc.org/latest/guide/references/phpdoc/tags/author.html
76-
[@link]: https://docs.phpdoc.org/latest/guide/references/phpdoc/tags/link.html
77-
[@param]: https://docs.phpdoc.org/latest/guide/references/phpdoc/tags/param.html
78-
[@return]: https://docs.phpdoc.org/latest/guide/references/phpdoc/tags/return.html
79-
[@throws]: https://docs.phpdoc.org/latest/guide/references/phpdoc/tags/throws.html
73+
[tags]: https://docs.phpdoc.org/guide/references/phpdoc/tags/
74+
[PHPDoc manual]: https://docs.phpdoc.org/
75+
[@author]: https://docs.phpdoc.org/guide/references/phpdoc/tags/author.html
76+
[@link]: https://docs.phpdoc.org/guide/references/phpdoc/tags/link.html
77+
[@param]: https://docs.phpdoc.org/guide/references/phpdoc/tags/param.html
78+
[@return]: https://docs.phpdoc.org/guide/references/phpdoc/tags/return.html
79+
[@throws]: https://docs.phpdoc.org/guide/references/phpdoc/tags/throws.html

0 commit comments

Comments
 (0)