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
|
@ -61,7 +61,7 @@ class ComposerRepositoryTest extends TestCase
|
|||
}
|
||||
}
|
||||
|
||||
public function loadDataProvider()
|
||||
public function loadDataProvider(): array
|
||||
{
|
||||
return array(
|
||||
// Old repository format
|
||||
|
@ -303,7 +303,7 @@ class ComposerRepositoryTest extends TestCase
|
|||
$this->assertSame($expected, $method->invoke($repository, $url));
|
||||
}
|
||||
|
||||
public function provideCanonicalizeUrlTestCases()
|
||||
public function provideCanonicalizeUrlTestCases(): array
|
||||
{
|
||||
return array(
|
||||
array(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue