mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 05:41:20 +01:00
fix error message
This commit is contained in:
parent
a99532da5e
commit
b132c3b751
@ -451,7 +451,7 @@ class ArithmeticOpAnalyzer
|
||||
) {
|
||||
if ($statements_source && IssueBuffer::accepts(
|
||||
new MixedOperand(
|
||||
'Left operand cannot be a non-int template',
|
||||
'Left operand cannot be a non-numeric template',
|
||||
new CodeLocation($statements_source, $left)
|
||||
),
|
||||
$statements_source->getSuppressedIssues()
|
||||
@ -464,7 +464,7 @@ class ArithmeticOpAnalyzer
|
||||
) {
|
||||
if ($statements_source && IssueBuffer::accepts(
|
||||
new MixedOperand(
|
||||
'Right operand cannot be a non-int template',
|
||||
'Right operand cannot be a non-numeric template',
|
||||
new CodeLocation($statements_source, $right)
|
||||
),
|
||||
$statements_source->getSuppressedIssues()
|
||||
|
Loading…
x
Reference in New Issue
Block a user