Skip to content

Commit

Permalink
Narrow types
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Oct 31, 2024
1 parent ec01f21 commit e5f59db
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/TestSize/TestSize.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit e5f59db

Please sign in to comment.