Rector changes return typing

This commit is contained in:
2025-08-27 16:32:44 +02:00
parent da240f5ce5
commit 979b2955f6
93 changed files with 164 additions and 180 deletions

View File

@@ -31,7 +31,7 @@ final class DocGenEncoderTest extends TestCase
$this->encoder = new DocGenEncoder();
}
public function testEmbeddedLoopsThrowsException()
public function testEmbeddedLoopsThrowsException(): void
{
$this->expectException(UnexpectedValueException::class);
@@ -55,7 +55,7 @@ final class DocGenEncoderTest extends TestCase
/**
* @dataProvider generateEncodeData
*/
public function testEncode(mixed $expected, mixed $data, string $msg)
public function testEncode(mixed $expected, mixed $data, string $msg): void
{
$generated = $this->encoder->encode($data, 'docgen');
$this->assertEquals($expected, $generated, $msg);