Declare return type for data providers

This commit is contained in:
Sebastian Bergmann 2024-06-22 09:47:18 +02:00
parent e78e729e97
commit bf460d2605
No known key found for this signature in database
GPG Key ID: 4AA394086372C20A
1 changed files with 12 additions and 0 deletions

View File

@ -36,6 +36,9 @@ use stdClass;
#[Small]
final class ExporterTest extends TestCase
{
/**
* @return array<list<mixed>>
*/
public static function exportProvider(): array
{
$obj2 = new stdClass;
@ -290,6 +293,9 @@ EOF,
];
}
/**
* @return array<list<mixed>>
*/
public static function shortenedExportProvider(): array
{
$obj = new stdClass;
@ -328,6 +334,9 @@ EOF,
];
}
/**
* @return array<list<mixed>>
*/
public static function provideNonBinaryMultibyteStrings(): array
{
return [
@ -337,6 +346,9 @@ EOF,
];
}
/**
* @return array<list<mixed>>
*/
public static function shortenedRecursiveExportProvider(): array
{
$bigArray = [];