Merge pull request #252 from mahmutbayri/master

Trim tag text.…
This commit is contained in:
Barry vd. Heuvel
2015-08-13 13:12:39 +02:00
+2 -1
View File
@@ -474,7 +474,8 @@ class ModelsCommand extends Command
} else { } else {
$attr = 'property-read'; $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); $phpdoc->appendTag($tag);
} }