1
0
Fork 0
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:
Jordi Boggiano 2022-02-22 16:47:09 +01:00
parent c9baeda95b
commit 6da38f83a0
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
279 changed files with 1377 additions and 1504 deletions

View file

@ -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);