1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

Add typehint to property/call maps

This commit is contained in:
Matthew Brown 2016-12-07 01:12:19 -05:00
parent 19e279eb99
commit cb9fe6e231
2 changed files with 2 additions and 1 deletions

View File

@ -1367,6 +1367,7 @@ abstract class ClassLikeChecker extends SourceChecker implements StatementsSourc
return self::$property_map;
}
/** @var array<string, array> */
$property_map = require_once(__DIR__.'/../PropertyMap.php');
self::$property_map = [];

View File

@ -694,7 +694,7 @@ class FunctionChecker extends FunctionLikeChecker
return self::$call_map;
}
/** @var array<array<string, string>> */
/** @var array<string, array> */
$call_map = require_once(__DIR__.'/../CallMap.php');
self::$call_map = [];