Skip to content

Commit 95ad95d

Browse files
committed
Added doc blocks to the new methods.
1 parent ee41293 commit 95ad95d

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/phpDocumentor/Reflection/DocBlock/Tag/AuthorTag.php

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
use phpDocumentor\Reflection\DocBlock\Tag;
1616

1717
/**
18-
* Reflection class for a {@author} tag in a Docblock.
18+
* Reflection class for an @author tag in a Docblock.
1919
*
2020
* @author Mike van Riel <[email protected]>
2121
* @license http://www.opensource.org/licenses/mit-license.php MIT
@@ -46,11 +46,21 @@ public function __construct($type, $content)
4646
}
4747
}
4848

49+
/**
50+
* Gets the author's name.
51+
*
52+
* @return string The author's name.
53+
*/
4954
public function getAuthorName()
5055
{
5156
return $this->name;
5257
}
5358

59+
/**
60+
* Gets the author's email.
61+
*
62+
* @return string The author's email.
63+
*/
5464
public function getAuthorEmail()
5565
{
5666
return $this->email;

0 commit comments

Comments
 (0)