1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Fix strict type issues

This commit is contained in:
Jordi Boggiano 2022-02-23 16:57:47 +01:00
parent b85e0eebc1
commit 3cdca37e85
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
24 changed files with 76 additions and 61 deletions

View file

@ -24,6 +24,7 @@ use Composer\DependencyResolver\Operation\UpdateOperation;
use Composer\DependencyResolver\Request;
use Composer\DependencyResolver\Solver;
use Composer\DependencyResolver\SolverProblemsException;
use Composer\Package\PackageInterface;
use Composer\Package\Link;
use Composer\Repository\RepositorySet;
use Composer\Test\TestCase;
@ -1059,7 +1060,7 @@ class SolverTest extends TestCase
}
/**
* @param array<array<string, string>> $expected
* @param array<array{job: string, package?: PackageInterface, from?: PackageInterface, to?: PackageInterface}> $expected
* @return void
*/
protected function checkSolverResult(array $expected): void