diff --git a/src/Console/ModelsCommand.php b/src/Console/ModelsCommand.php index 11b8c73..2f2c2c2 100644 --- a/src/Console/ModelsCommand.php +++ b/src/Console/ModelsCommand.php @@ -474,7 +474,8 @@ class ModelsCommand extends Command } else { $attr = 'property-read'; } - $tag = Tag::createInstance("@{$attr} {$property['type']} {$name} {$property['comment']}", $phpdoc); + $tagLine = trim("@{$attr} {$property['type']} {$name} {$property['comment']}"); + $tag = Tag::createInstance($tagLine, $phpdoc); $phpdoc->appendTag($tag); }