We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 45ada3e + c8bfd60 commit ea48fd2Copy full SHA for ea48fd2
1 file changed
src/DocBlock/Tags/Example.php
@@ -134,6 +134,16 @@ public function setFileURI($uri)
134
return $this;
135
}
136
137
+ /**
138
+ * Returns a string representation for this tag.
139
+ *
140
+ * @return string
141
+ */
142
+ public function __toString()
143
+ {
144
+ return $this->filePath . ($this->description ? ' ' . $this->description->render() : '');
145
+ }
146
+
147
/**
148
* Returns true if the provided URI is relative or contains a complete scheme (and thus is absolute).
149
*
0 commit comments