Skip to content

Conversation

alexndlm
Copy link
Contributor

No description provided.

return "/**\n * " . implode("\n * ", $this->children) . "\n */";
$children = array_map(
static function ($child): string {
return (string) $child === '' ? '' : ' ' . $child;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will render each child twice.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, thanks for the fix.

Co-authored-by: Jan Tvrdík <_github.com@jantvrdik.com>
@ondrejmirtes ondrejmirtes merged commit fac8615 into phpstan:master Aug 31, 2021
@ondrejmirtes
Copy link
Member

Thank you both!

@alexndlm
Copy link
Contributor Author

Thank you for making the release so quickly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants