mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-03-17 20:54:52 +08:00
stan-fix
This commit is contained in:
parent
ef1a9646e4
commit
7d6455034b
@ -399,6 +399,7 @@ class Framework
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user