Skip to content

Commit

Permalink
fix wrong comma
Browse files Browse the repository at this point in the history
  • Loading branch information
wol-soft committed Mar 15, 2024
1 parent 0790387 commit 45a74b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/Validator/ComposedPropertyValidator.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ private function %s(array $originalModelData, object $nestedCompositionObject):
foreach (%s as $key => $accessor) {
if ((isset($originalModelData[$key]) || in_array($key, $defaultValueMap))
&& method_exists($nestedCompositionObject, $accessor)
&& ($modifiedValue = $nestedCompositionObject->$accessor()) !== ($originalModelData[$key] ?? !$modifiedValue),
&& ($modifiedValue = $nestedCompositionObject->$accessor()) !== ($originalModelData[$key] ?? !$modifiedValue)
) {
$modifiedValues[$key] = $modifiedValue;
}
Expand Down

0 comments on commit 45a74b2

Please sign in to comment.