mirror of
https://github.com/composer/composer
synced 2025-05-10 00:53:06 +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
|
@ -30,7 +30,7 @@ class RequestProxyTest extends TestCase
|
|||
$this->assertSame($expectedSecure, $proxy->isSecure());
|
||||
}
|
||||
|
||||
public function dataSecure()
|
||||
public function dataSecure(): array
|
||||
{
|
||||
// url, secure
|
||||
return array(
|
||||
|
@ -55,7 +55,7 @@ class RequestProxyTest extends TestCase
|
|||
$this->assertSame($expected, $message);
|
||||
}
|
||||
|
||||
public function dataProxyUrl()
|
||||
public function dataProxyUrl(): array
|
||||
{
|
||||
$format = 'proxy (%s)';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue