mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Add return types to tests (#10)
This commit is contained in:
parent
1321bfca36
commit
e9b60580f5
62 changed files with 153 additions and 155 deletions
|
@ -84,7 +84,7 @@ class ArrayLoaderTest extends TestCase
|
|||
$this->assertEquals('1.2.3.4', $package->getVersion());
|
||||
}
|
||||
|
||||
public function parseDumpProvider()
|
||||
public function parseDumpProvider(): array
|
||||
{
|
||||
$validConfig = array(
|
||||
'name' => 'A/B',
|
||||
|
@ -273,7 +273,7 @@ class ArrayLoaderTest extends TestCase
|
|||
$this->assertFalse($package->isAbandoned());
|
||||
}
|
||||
|
||||
public function providePluginApiVersions()
|
||||
public function providePluginApiVersions(): array
|
||||
{
|
||||
return array(
|
||||
array('1.0'),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue