Skip to content

Add support for trailling comma for method paramerts #106

Description

@astronom

Since the last update trailing comma supports for constructor property promotion. Also support for arrays. But there is no support for method and function parameters.

See https://github.com/nette/php-generator/blob/master/src/PhpGenerator/Printer.php#L322 Var special is determined dynamically

Suggest to add some parameter to Printer and support trailing comma whether needed.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions