From e5f59db6f62e7682b46516f81315ac6fab6cbb3f Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Thu, 31 Oct 2024 07:20:00 +0100 Subject: [PATCH] Narrow types --- src/TestSize/TestSize.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/TestSize/TestSize.php b/src/TestSize/TestSize.php index 5bb5cee63..a2c92dcc3 100644 --- a/src/TestSize/TestSize.php +++ b/src/TestSize/TestSize.php @@ -14,22 +14,22 @@ */ abstract class TestSize { - public static function unknown(): self + public static function unknown(): Unknown { return new Unknown; } - public static function small(): self + public static function small(): Small { return new Small; } - public static function medium(): self + public static function medium(): Medium { return new Medium; } - public static function large(): self + public static function large(): Large { return new Large; }