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

keep wording consistency

This commit is contained in:
orklah 2021-07-24 11:18:50 +02:00
parent 7146c646e3
commit 1a41ee4dd4

View File

@ -766,7 +766,8 @@ class NonDivArithmeticOpAnalyzer
if ($config->strict_binary_operands) { if ($config->strict_binary_operands) {
if ($statements_source && IssueBuffer::accepts( if ($statements_source && IssueBuffer::accepts(
new InvalidOperand( new InvalidOperand(
'Cannot process ints and floats in strict binary operands mode', 'Cannot process ints and floats in strict binary operands mode, '.
'please cast explicitly',
new CodeLocation($statements_source, $parent) new CodeLocation($statements_source, $parent)
), ),
$statements_source->getSuppressedIssues() $statements_source->getSuppressedIssues()