We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fde2b59 commit 442a3d1Copy full SHA for 442a3d1
src/DocBlock/Tags/Method.php
@@ -261,6 +261,7 @@ public function __toString(): string
261
{
262
$arguments = [];
263
foreach ($this->parameters as $parameter) {
264
+ $parameterDefaultValueStr = null;
265
if ($parameter->getDefaultValue() !== null) {
266
$parameterDefaultValueStr = $parameter->getDefaultValue();
267
settype($parameterDefaultValueStr, (string)$parameter->getType());
0 commit comments