mirror of
https://github.com/danog/psalm.git
synced 2025-01-21 21:31:13 +01:00
Fix nullref
This commit is contained in:
parent
409a7e4b9e
commit
fa2209719b
@ -800,8 +800,8 @@ class ExpressionChecker
|
||||
public static function checkPlusOp(
|
||||
StatementsChecker $statements_checker,
|
||||
$line_number,
|
||||
Type\Union $left_type,
|
||||
Type\Union $right_type,
|
||||
Type\Union $left_type = null,
|
||||
Type\Union $right_type = null,
|
||||
Type\Union &$result_type = null
|
||||
) {
|
||||
if ($left_type && !$left_type->isMixed()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user