Skip to content

Commit c79a752

Browse files
authored
Merge branch refs/heads/1.12.x into 2.0.x
2 parents cc4eb92 + 79385bd commit c79a752

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Type/TypeCombinator.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1340,4 +1340,9 @@ public static function removeFalsey(Type $type): Type
13401340
return self::remove($type, StaticTypeFactory::falsey());
13411341
}
13421342

1343+
public static function removeTruthy(Type $type): Type
1344+
{
1345+
return self::remove($type, StaticTypeFactory::truthy());
1346+
}
1347+
13431348
}

0 commit comments

Comments
 (0)