Skip to content

Commit

Permalink
Update ImpossibleCheckTypeHelper.php
Browse files Browse the repository at this point in the history
  • Loading branch information
clxmstaab authored and staabm committed Mar 28, 2022
1 parent 2ca0a50 commit 0be6370
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Rules/Comparison/ImpossibleCheckTypeHelper.php
Expand Up @@ -308,6 +308,11 @@ private function findSpecifiedSureAndSureNotTypes(
return null;
}

/**
* @param array<string|int, array{Expr, Type}> $sureOrSureNotTypes
*
* @return list<Type>
*/
private function sureUnionTypes(array $sureOrSureNotTypes, Expr $expr): array
{
$types = [];
Expand Down

0 comments on commit 0be6370

Please sign in to comment.