We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
0
1 parent 94fd000 commit ace259aCopy full SHA for ace259a
src/DocBlock/Tags/Generic.php
@@ -57,7 +57,7 @@ public static function create(
57
Assert::stringNotEmpty($name);
58
Assert::notNull($descriptionFactory);
59
60
- $description = $descriptionFactory && $body ? $descriptionFactory->create($body, $context) : null;
+ $description = $descriptionFactory && $body !== "" ? $descriptionFactory->create($body, $context) : null;
61
62
return new static($name, $description);
63
}
0 commit comments