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:
parent
b229ac875d
commit
7c4c78f67e
@ -14,7 +14,7 @@ class ArrayMergeReturnTypeProvider implements \Psalm\Plugin\Hook\FunctionReturnT
|
||||
{
|
||||
public static function getFunctionIds() : array
|
||||
{
|
||||
return ['array_merge'];
|
||||
return ['array_merge', 'array_replace'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user