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.
0
1 parent 90ae750 commit 095cf6dCopy full SHA for 095cf6d
src/DocBlock/Tags/Generic.php
@@ -53,7 +53,7 @@ public static function create(
53
Assert::stringNotEmpty($name);
54
Assert::notNull($descriptionFactory);
55
56
- $description = $descriptionFactory && $body ? $descriptionFactory->create($body, $context) : null;
+ $description = $descriptionFactory && $body !== "" ? $descriptionFactory->create($body, $context) : null;
57
58
return new static($name, $description);
59
}
0 commit comments