From 35b163074300b0f2a0b96270578713af21cb5c7c Mon Sep 17 00:00:00 2001 From: crazywhalecc Date: Wed, 2 Oct 2024 20:31:58 +0800 Subject: [PATCH] stan-fix --- src/ZM/Framework.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ZM/Framework.php b/src/ZM/Framework.php index 55ea61a2..a6a3e49d 100644 --- a/src/ZM/Framework.php +++ b/src/ZM/Framework.php @@ -399,6 +399,7 @@ private function translateProperties(array &$properties): void if (isset($translations[$k])) { $keys = array_keys($properties); $keys[array_search($k, $keys, false)] = $translations[$k]; + /* @phpstan-ignore-next-line */ $properties = ($t = array_combine($keys, $properties)) ? $t : $properties; } }