Skip to content

phpdoc not generated on methods having trailling comma #265

@frkinta

Description

@frkinta

Having ...

<?php

interface ModelRepositoryInterface
{

    public function get(array $params,): ?array;
}

... if you type /** and empty doc is generated. But if you remove trailing comma ( , after array $params) and you try again, proper phpdoc is generated.
Same error for classes, interfaces, traits...

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions