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

Fix nullref

This commit is contained in:
Matthew Brown 2016-11-13 15:46:35 -05:00
parent 409a7e4b9e
commit fa2209719b

View File

@ -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()) {