Skip to content

Commit e5f59db

Browse files
Narrow types
1 parent ec01f21 commit e5f59db

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/TestSize/TestSize.php

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,22 @@
1414
*/
1515
abstract class TestSize
1616
{
17-
public static function unknown(): self
17+
public static function unknown(): Unknown
1818
{
1919
return new Unknown;
2020
}
2121

22-
public static function small(): self
22+
public static function small(): Small
2323
{
2424
return new Small;
2525
}
2626

27-
public static function medium(): self
27+
public static function medium(): Medium
2828
{
2929
return new Medium;
3030
}
3131

32-
public static function large(): self
32+
public static function large(): Large
3333
{
3434
return new Large;
3535
}

0 commit comments

Comments
 (0)