Skip to content

Commit

Permalink
Revert "Revert "Fix deprecated Optional parameter before required par…
Browse files Browse the repository at this point in the history
…ameter on PrintableNewAnonClassNode (#987)""

This reverts commit 71a8b79.
  • Loading branch information
staabm committed Mar 17, 2024
1 parent 316e762 commit 55393f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/PhpParser/Internal/PrintableNewAnonClassNode.php
Original file line number Diff line number Diff line change
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 55393f4

Please sign in to comment.