Skip to content

Commit

Permalink
Prettify CollectedArgumentTemplates
Browse files Browse the repository at this point in the history
  • Loading branch information
klimick committed May 2, 2024
1 parent 25bc687 commit fadb3a0
Showing 1 changed file with 2 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,13 @@
*/
final class CollectedArgumentTemplates
{
/**
* @var array<string, non-empty-array<string, Union>>
* @psalm-readonly
*/
public array $template_types;

/**
* @var array<string, non-empty-array<string, Union>>
* @psalm-readonly
*/
public array $lower_bounds;

/**
* @param array<string, non-empty-array<string, Union>> $template_types
* @param array<string, non-empty-array<string, Union>> $lower_bounds
*/
public function __construct(
array $template_types = [],
array $lower_bounds = [],
public readonly array $template_types = [],
public readonly array $lower_bounds = [],
) {
$this->template_types = $template_types;
$this->lower_bounds = $lower_bounds;
}
}

0 comments on commit fadb3a0

Please sign in to comment.