Skip to content

Commit

Permalink
Make phpstan happy
Browse files Browse the repository at this point in the history
  • Loading branch information
brightbyte committed Dec 14, 2023
1 parent c905ffd commit fdb7271
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Core/Ast/Parser/NikicPhpParser/FileReferenceVisitor.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ class FileReferenceVisitor extends NodeVisitorAbstract

private readonly ?string $internalTag;

/**
* @param array<mixed> $config
*/
public function __construct(
private readonly FileReferenceBuilder $fileReferenceBuilder,
private readonly TypeResolver $typeResolver,
Expand Down
1 change: 1 addition & 0 deletions src/Core/Ast/Parser/NikicPhpParser/NikicPhpParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ class NikicPhpParser implements ParserInterface

/**
* @param ReferenceExtractorInterface[] $extractors
* @param array<mixed> $config
*/
public function __construct(
private readonly Parser $parser,
Expand Down

0 comments on commit fdb7271

Please sign in to comment.