1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00
This commit is contained in:
Matt Brown 2020-11-30 01:29:40 -05:00
parent cf6dedc11d
commit 817db55140

View File

@ -3579,7 +3579,7 @@ class AssertionFinder
$is_a_prefix = $third_arg_value === 'true' ? 'isa-string-' : 'isa-';
/**
* @psalm-suppress RedundantConditionGivenDocblockTypes due to Psalm bug
* @psalm-suppress RedundantConditionGivenDocblockType due to Psalm bug
*/
if ($first_arg
&& ($first_arg_type = $source->node_data->getType($first_arg))