mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 01:57:13 +00:00
Doc updates and fixes.
This commit is contained in:
@@ -46,11 +46,8 @@ class DocBlock implements \Reflector
|
||||
* Parses the given docblock and populates the member fields.
|
||||
*
|
||||
* The constructor may also receive namespace information such as the
|
||||
* current namespace and aliases. This information is used in the
|
||||
* {@link expandType()} method to transform a relative Type into a FQCN.
|
||||
*
|
||||
* For example the param and return tags use this to expand their type
|
||||
* information.
|
||||
* current namespace and aliases. This information is used by some tags
|
||||
* (e.g. @return, @param, etc.) to turn a relative Type into a FQCN.
|
||||
*
|
||||
* @param \Reflector|string $docblock A docblock comment (including
|
||||
* asterisks) or reflector supporting the getDocComment method.
|
||||
@@ -260,7 +257,7 @@ class DocBlock implements \Reflector
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns an array of tags matching the given name; if no tags are found
|
||||
* Returns an array of tags matching the given name. If no tags are found
|
||||
* an empty array is returned.
|
||||
*
|
||||
* @param string $name String to search by.
|
||||
|
||||
@@ -34,8 +34,7 @@ class Description implements \Reflector
|
||||
protected $docblock = null;
|
||||
|
||||
/**
|
||||
* Parses the string for inline tags and if the Markdown class is included;
|
||||
* format the found text.
|
||||
* Populates the fields of a description.
|
||||
*
|
||||
* @param string $content The DocBlock contents without asterisks.
|
||||
* @param DocBlock $docblock The DocBlock which this description belongs to.
|
||||
|
||||
Reference in New Issue
Block a user