mirror of
https://github.com/composer/composer
synced 2025-05-10 00:53:06 +00:00
phpstan: update tests/Composer/Test/DependencyResolver/* to level 6 standard (#10242)
This commit is contained in:
parent
8b7e2b600d
commit
a155c076db
4 changed files with 28 additions and 1 deletions
|
@ -57,7 +57,11 @@ class PoolTest extends TestCase
|
|||
$this->assertEquals(array(), $pool->whatProvides('foo'));
|
||||
}
|
||||
|
||||
protected function createPool(array $packages = array())
|
||||
/**
|
||||
* @param array<\Composer\Package\BasePackage>|null $packages
|
||||
* @return \Composer\DependencyResolver\Pool
|
||||
*/
|
||||
protected function createPool($packages = array())
|
||||
{
|
||||
return new Pool($packages);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue