We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
all
1 parent d4207ed commit 4fd15cdCopy full SHA for 4fd15cd
2 files changed
bin/MethodDocGenerator.php
@@ -81,6 +81,10 @@ private function generateMethodDocs($methods, $format, $skipParameterTest, $pref
81
}
82
83
84
+ if ($prefix === 'all' && strpos($type, 'null') === false && $parameterIndex === 0) {
85
+ $type = str_replace('|', '[]|', $type).'[]';
86
+ }
87
+
88
if ($prefix === 'nullOr' && strpos($type, 'null') === false && $parameterIndex === 0) {
89
$type .= '|null';
90
0 commit comments