From bf460d26053d655d7ada935a235deb2663b13051 Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Sat, 22 Jun 2024 09:47:18 +0200 Subject: [PATCH] Declare return type for data providers --- tests/ExporterTest.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/tests/ExporterTest.php b/tests/ExporterTest.php index 9ad890b..b7814a3 100644 --- a/tests/ExporterTest.php +++ b/tests/ExporterTest.php @@ -36,6 +36,9 @@ use stdClass; #[Small] final class ExporterTest extends TestCase { + /** + * @return array> + */ public static function exportProvider(): array { $obj2 = new stdClass; @@ -290,6 +293,9 @@ EOF, ]; } + /** + * @return array> + */ public static function shortenedExportProvider(): array { $obj = new stdClass; @@ -328,6 +334,9 @@ EOF, ]; } + /** + * @return array> + */ public static function provideNonBinaryMultibyteStrings(): array { return [ @@ -337,6 +346,9 @@ EOF, ]; } + /** + * @return array> + */ public static function shortenedRecursiveExportProvider(): array { $bigArray = [];