Skip to content

Commit

Permalink
stan-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
crazywhalecc committed Oct 2, 2024
1 parent 57ca797 commit 35b1630
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ZM/Framework.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 35b1630

Please sign in to comment.