1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00
This commit is contained in:
Matt Brown 2020-11-30 01:29:40 -05:00 committed by Daniil Gentili
parent 6ea8ab7612
commit 7d7aad4ac8
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

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))