Skip to content

Commit

Permalink
Merge branch refs/heads/1.12.x into 2.0.x
Browse files Browse the repository at this point in the history
  • Loading branch information
phpstan-bot authored Nov 15, 2024
2 parents cc4eb92 + 79385bd commit c79a752
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Type/TypeCombinator.php
Original file line number Diff line number Diff line change
Expand Up @@ -1340,4 +1340,9 @@ public static function removeFalsey(Type $type): Type
return self::remove($type, StaticTypeFactory::falsey());
}

public static function removeTruthy(Type $type): Type
{
return self::remove($type, StaticTypeFactory::truthy());
}

}

0 comments on commit c79a752

Please sign in to comment.