mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-19 10:33:12 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6b69015d83 | ||
|
|
053005ed4e |
@@ -76,7 +76,15 @@ class MethodTag extends ReturnTag
|
|||||||
)?
|
)?
|
||||||
# Return type
|
# Return type
|
||||||
(?:
|
(?:
|
||||||
([\w\|_\\\\]+)
|
(
|
||||||
|
(?:[\w\|_\\\\]*\$this[\w\|_\\\\]*)
|
||||||
|
|
|
||||||
|
(?:
|
||||||
|
(?:[\w\|_\\\\]+)
|
||||||
|
# array notation
|
||||||
|
(?:\[\])*
|
||||||
|
)*
|
||||||
|
)
|
||||||
\s+
|
\s+
|
||||||
)?
|
)?
|
||||||
# Legacy method name (not captured)
|
# Legacy method name (not captured)
|
||||||
|
|||||||
Reference in New Issue
Block a user