1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 13:51:54 +01:00

Merge pull request #10268 from robchett/hotfix_shepard_build

Hotfix Shepard build
This commit is contained in:
orklah 2023-10-09 00:40:17 +02:00 committed by GitHub
commit c71f0abc4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -625,6 +625,11 @@ class ArithmeticOpAnalyzer
return null;
}
}
/**
* @var Atomic $left_type_part
* @var Atomic $right_type_part
* // Todo remove this hint reset after fixing #10267
*/
if (($left_type_part instanceof TNamedObject && strtolower($left_type_part->value) === 'gmp')
|| ($right_type_part instanceof TNamedObject && strtolower($right_type_part->value) === 'gmp')