mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-07 06:26:45 +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
|
<?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
|
||||||
|
Reference in New Issue
Block a user