Skip to content

Commit

Permalink
Merge pull request #11297 from vimeo/expose_progress
Browse files Browse the repository at this point in the history
Expose Progress instance to plugins
  • Loading branch information
danog authored Feb 17, 2025
2 parents 8347d5b + 7d9c8a3 commit a6e223b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Psalm/Codebase.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ final class Codebase

public StatementsProvider $statements_provider;

private readonly Progress $progress;
public readonly Progress $progress;

/**
* @var array<string, Union>
Expand Down
4 changes: 2 additions & 2 deletions src/Psalm/PluginRegistrationSocket.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ final class PluginRegistrationSocket implements RegistrationInterface
* @internal
*/
public function __construct(
private readonly Config $config,
private readonly Codebase $codebase,
public readonly Config $config,
public readonly Codebase $codebase,
) {
}

Expand Down

0 comments on commit a6e223b

Please sign in to comment.