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

Fix #2271 - treat array_replace same as array_merge

This commit is contained in:
Matthew Brown 2019-11-02 10:14:50 +01:00
parent b229ac875d
commit 7c4c78f67e

View File

@ -14,7 +14,7 @@ class ArrayMergeReturnTypeProvider implements \Psalm\Plugin\Hook\FunctionReturnT
{
public static function getFunctionIds() : array
{
return ['array_merge'];
return ['array_merge', 'array_replace'];
}
/**