We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3332d36 commit d8ca221Copy full SHA for d8ca221
src/Type/IsSuperTypeOfResult.php
@@ -30,13 +30,13 @@
30
*/
31
final class IsSuperTypeOfResult
32
{
33
+
34
private static self $YES;
35
36
private static self $MAYBE;
37
38
private static self $NO;
39
-
40
/**
41
* @api
42
* @param list<string> $reasons Human-readable explanations of the type relationship
@@ -84,7 +84,7 @@ public static function createYes(): self
84
public static function createNo(array $reasons = []): self
85
86
if ($reasons === []) {
87
- return self::$NO ??= new self(TrinaryLogic::createNo(), $reasons);
+ return self::$NO ??= new self(TrinaryLogic::createNo(), $reasons);
88
}
89
return new self(TrinaryLogic::createNo(), $reasons);
90
0 commit comments