1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Add void types where no return statement is present

This commit is contained in:
Jordi Boggiano 2022-02-18 10:38:54 +01:00
parent 32852304d0
commit abdc6893a6
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
213 changed files with 1129 additions and 1130 deletions

View file

@ -79,7 +79,7 @@ class VersionTest extends TestCase
* @param bool $fipsExpected
* @param string|null $normalizedVersion
*/
public function testParseOpensslVersions($input, $parsedVersion, $fipsExpected = false, $normalizedVersion = null)
public function testParseOpensslVersions($input, $parsedVersion, $fipsExpected = false, $normalizedVersion = null): void
{
self::assertSame($parsedVersion, Version::parseOpenssl($input, $isFips));
self::assertSame($fipsExpected, $isFips);
@ -104,7 +104,7 @@ class VersionTest extends TestCase
* @param string $input
* @param string $parsedVersion
*/
public function testParseLibjpegVersion($input, $parsedVersion)
public function testParseLibjpegVersion($input, $parsedVersion): void
{
self::assertSame($parsedVersion, Version::parseLibjpeg($input));
}
@ -124,7 +124,7 @@ class VersionTest extends TestCase
* @param string $input
* @param string $parsedVersion
*/
public function testParseZoneinfoVersion($input, $parsedVersion)
public function testParseZoneinfoVersion($input, $parsedVersion): void
{
self::assertSame($parsedVersion, Version::parseZoneinfoVersion($input));
}