Compare commits

..
3 Commits
Author SHA1 Message Date
Vasil Rangelov 47d3f86c53 Fixed the dot separation to match the latest PSR
(see phpDocumentor/phpDocumentor2#797)
2013-04-16 17:22:15 +03:00
Mike van Riel cfb104b8c8 Merge pull request #17 from joncave/cotnent-typo
Fix typo in "cotnent"
2013-02-01 10:47:35 -08:00
Jon Cave 5c51ccf185 Fix typo in "cotnent" 2013-02-01 18:08:30 +00:00
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -158,7 +158,7 @@ class DocBlock implements \Reflector
\A ( \A (
[^\n.]+ [^\n.]+
(?: (?:
(?! \. \s | \n{2} ) # disallow the first seperator here (?! \. \n | \n{2} ) # disallow the first seperator here
[\n.] (?! [ \t]* @\pL ) # disallow second seperator [\n.] (?! [ \t]* @\pL ) # disallow second seperator
[^\n.]+ [^\n.]+
)* )*
@@ -33,13 +33,13 @@ class ReturnTag extends Tag
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function getCotnent() public function getContent()
{ {
if (null === $this->content) { if (null === $this->content) {
$this->content = "{$this->type} {$this->description}"; $this->content = "{$this->type} {$this->description}";
} }
return $this->cotnent; return $this->content;
} }
/** /**