Skip to content

Commit 456d2b0

Browse files
committed
🐛 left side of ?? is not nullable
1 parent 442a3d1 commit 456d2b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DocBlock/Tags/Method.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ public function __toString(): string
272272
($parameter->isReference() ? '&' : '') .
273273
($parameter->isVariadic() ? '...' : '') .
274274
'$' . $parameter->getName() .
275-
$parameterDefaultValueStr ?? '';
275+
($parameterDefaultValueStr ?? '');
276276
}
277277

278278
$argumentStr = '(' . implode(', ', $arguments) . ')';

0 commit comments

Comments
 (0)