mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 01:57:13 +00:00
Fix missing Example::__toString method
This method is required by the Tag interface.
This commit is contained in:
@@ -134,6 +134,16 @@ final class Example extends BaseTag
|
|||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns a string representation for this tag.
|
||||||
|
*
|
||||||
|
* @return string
|
||||||
|
*/
|
||||||
|
public function __toString()
|
||||||
|
{
|
||||||
|
return $this->filePath . ($this->description ? ' ' . $this->description->render() : '');
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns true if the provided URI is relative or contains a complete scheme (and thus is absolute).
|
* Returns true if the provided URI is relative or contains a complete scheme (and thus is absolute).
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user