We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d5c72b commit 0da1a14Copy full SHA for 0da1a14
src/PhpDocReader/PhpDocReader.php
@@ -75,7 +75,7 @@ public function getPropertyClass(ReflectionProperty $property)
75
}
76
77
// Ignore types containing special characters ([], <> ...)
78
- if (! preg_match('/^[a-zA-Z0-9\\\\]+$/', $type)) {
+ if (! preg_match('/^[a-zA-Z0-9\\\\_]+$/', $type)) {
79
return null;
80
81
@@ -183,7 +183,7 @@ public function getParameterClass(ReflectionParameter $parameter)
183
184
185
186
187
188
189
0 commit comments