Jeppe Knockaert
2018-12-13 10:13:22 +01:00
parent 3dcbd98b5d
commit 053005ed4e
@@ -76,7 +76,15 @@ class MethodTag extends ReturnTag
)?
# Return type
(?:
([\w\|_\\\\]+)
(
(?:[\w\|_\\\\]*\$this[\w\|_\\\\]*)
|
(?:
(?:[\w\|_\\\\]+)
# array notation
(?:\[\])*
)*
)
\s+
)?
# Legacy method name (not captured)