1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-02 17:52:45 +01:00
This commit is contained in:
Daniil Gentili 2022-11-26 18:02:14 +01:00
parent a9647155f2
commit 582a7858f5

View File

@ -530,6 +530,7 @@ class TKeyedArray extends Atomic
if ($properties !== $this->properties || $fallback_params !== $this->fallback_params) {
$cloned = clone $this;
$cloned->properties = $properties;
$cloned->fallback_params = $fallback_params;
return $cloned;
}
return $this;