1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00

Fix nullref

This commit is contained in:
Matthew Brown 2016-12-28 19:58:32 -05:00
parent 2bf515be5f
commit c5622f1ed1

View File

@ -298,7 +298,7 @@ class StatementsChecker
$this->file_name $this->file_name
); );
$function_checker->checkReturnTypes( $function_checkers[$stmt->name]->checkReturnTypes(
false, false,
$return_type, $return_type,
$return_type_location $return_type_location