public function generateDocblock() { $docblock = $this->getDocblock(); $docblock->setShortDescription($this->getDescription()); $docblock->setLongDescription($this->getLongDescription()); // var tag $this->generateTypeTag(new VarTag()); }
public function testEmptyProperty() { $property = new PhpProperty(self::PROP); $property->generateDocblock(); $this->assertTrue($property->getDocblock()->isEmpty()); }