Skip to content

Commit

Permalink
[ci-review] Rector Rectify
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Jan 8, 2022
1 parent 704b1be commit 37e2e84
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@
*/
final class DowngradeNumberFormatNoFourthArgRector extends AbstractRector
{
public function __construct(private readonly ArgsAnalyzer $argsAnalyzer)
{
public function __construct(
private readonly ArgsAnalyzer $argsAnalyzer
) {
}

public function getRuleDefinition(): RuleDefinition
Expand Down
4 changes: 2 additions & 2 deletions src/PhpParser/Node/BetterNodeFinder.php
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,8 @@ public function findFirstNonAnonymousClass(array $nodes): ?Node
}

/**
* @param Node|Node[] $nodes
* @param callable(Node $node): bool $filter
* @param Node|Node[] $filters
* @param callable(Node $filter): bool $filter
*/
public function findFirst(Node | array $nodes, callable $filter): ?Node
{
Expand Down

0 comments on commit 37e2e84

Please sign in to comment.