mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Add parameter types to all the things
This commit is contained in:
parent
c9baeda95b
commit
6da38f83a0
279 changed files with 1377 additions and 1504 deletions
|
@ -23,7 +23,7 @@ class RequestProxyTest extends TestCase
|
|||
* @param string $url
|
||||
* @param bool $expectedSecure
|
||||
*/
|
||||
public function testIsSecure($url, $expectedSecure): void
|
||||
public function testIsSecure(string $url, bool $expectedSecure): void
|
||||
{
|
||||
$proxy = new RequestProxy($url, array(), '');
|
||||
|
||||
|
@ -47,7 +47,7 @@ class RequestProxyTest extends TestCase
|
|||
* @param string $format
|
||||
* @param string $expected
|
||||
*/
|
||||
public function testGetFormattedUrlFormat($url, $format, $expected): void
|
||||
public function testGetFormattedUrlFormat(string $url, string $format, string $expected): void
|
||||
{
|
||||
$proxy = new RequestProxy($url, array(), $url);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue