mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 10:07:12 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
47d3f86c53 | ||
|
|
cfb104b8c8 | ||
|
|
5c51ccf185 |
@@ -158,7 +158,7 @@ class DocBlock implements \Reflector
|
||||
\A (
|
||||
[^\n.]+
|
||||
(?:
|
||||
(?! \. \s | \n{2} ) # disallow the first seperator here
|
||||
(?! \. \n | \n{2} ) # disallow the first seperator here
|
||||
[\n.] (?! [ \t]* @\pL ) # disallow second seperator
|
||||
[^\n.]+
|
||||
)*
|
||||
|
||||
@@ -33,13 +33,13 @@ class ReturnTag extends Tag
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getCotnent()
|
||||
public function getContent()
|
||||
{
|
||||
if (null === $this->content) {
|
||||
$this->content = "{$this->type} {$this->description}";
|
||||
}
|
||||
|
||||
return $this->cotnent;
|
||||
return $this->content;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user