src/Element/PhpMethod.php
public function getLineAfterChildren(int $indentation = null): string
    {
        if ($this->getHasBody() === true) {
            return parent::getLineAfterChildren($indentation);
        }
        return '';
    }
public function getLineAfterChildren(int $indentation = null): string
    {
        if ($this->getHasBody() === true) {
            return parent::getLineAfterChildren($indentation);
        }
        return '';
    }
Allows to generate content after children content is generated
@param int $indentation
@return string