Skip to content

Commit

Permalink
Replace array<int, T> with list<T> in annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
theimbender committed Sep 12, 2023
1 parent 2b67c41 commit ccbf8ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Builder/ArchiveBuilderHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ public function isSkippable(PackageInterface $package): bool
}

/**
* @param array<int, string> $names
* @param array<int, string> $list
* @param list<string> $names
* @param list<string> $list
*/
protected function isOneOfNamesInList(array $names, array $list): bool
{
Expand Down
2 changes: 1 addition & 1 deletion src/Builder/PackagesBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class PackagesBuilder extends Builder
private $filename;
/** @var string included json filename template */
private $includeFileName;
/** @var array<int, mixed> */
/** @var list<mixed> */
private $writtenIncludeJsons = [];
/** @var bool */
private $minify;
Expand Down

0 comments on commit ccbf8ab

Please sign in to comment.