mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 10:07:12 +00:00
Merge pull request #73 from hboomsma/feature/typed-array
Allow typed arrays in @method annotation.
This commit is contained in:
@@ -91,7 +91,11 @@ final class Method extends BaseTag implements Factory\StaticMethod
|
||||
)?
|
||||
# Return type
|
||||
(?:
|
||||
([\w\|_\\\\]+)
|
||||
(
|
||||
(?:[\w\|_\\\\]+)
|
||||
# array notation
|
||||
(?:\[\])*
|
||||
)?
|
||||
\s+
|
||||
)?
|
||||
# Legacy method name (not captured)
|
||||
|
||||
Reference in New Issue
Block a user