Skip to content

Commit

Permalink
Fix deprecated Optional parameter before required parameter on Printa…
Browse files Browse the repository at this point in the history
…bleNewAnonClassNode (#987)

Fixes #986.
  • Loading branch information
samsonasik committed Mar 17, 2024
1 parent 32cdab9 commit d4d4e3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/PhpParser/Internal/PrintableNewAnonClassNode.php
Expand Up @@ -31,7 +31,7 @@ class PrintableNewAnonClassNode extends Expr
public $stmts;

public function __construct(
array $attrGroups, int $flags, array $args, ?Node\Name $extends = null, array $implements,
array $attrGroups, int $flags, array $args, ?Node\Name $extends, array $implements,
array $stmts, array $attributes
) {
parent::__construct($attributes);
Expand Down

0 comments on commit d4d4e3e

Please sign in to comment.