Fixed @method annotations with an empty argument list and description

This commit is contained in:
Corey Taylor
2019-12-19 08:41:51 -06:00
parent 549d235cf4
commit 97b796040a
2 changed files with 35 additions and 5 deletions
+1 -5
View File
@@ -120,12 +120,8 @@ final class Method extends BaseTag implements Factory\StaticMethod
)
\s+
)?
# Legacy method name (not captured)
(?:
[\w_]+\(\)\s+
)?
# Method name
([\w\|_\\\\]+)
([\w_]+)
# Arguments
(?:
\(([^\)]*)\)