Merge pull request #73 from hboomsma/feature/typed-array

Allow typed arrays in @method annotation.
This commit is contained in:
Mike van Riel
2016-06-06 08:44:13 +02:00
2 changed files with 53 additions and 3 deletions
+5 -1
View File
@@ -91,7 +91,11 @@ final class Method extends BaseTag implements Factory\StaticMethod
)?
# Return type
(?:
([\w\|_\\\\]+)
(
(?:[\w\|_\\\\]+)
# array notation
(?:\[\])*
)?
\s+
)?
# Legacy method name (not captured)