mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 18:13:13 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
47d3f86c53 | ||
|
|
cfb104b8c8 | ||
|
|
5c51ccf185 |
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user