Replies: 1 comment 1 reply
-
Can't reproduce your statement/report. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Trait: src/Traits/DetectsChanges.php
Func: function attributeValuesToBeLogged(string $processingEvent): array
$new <=> $old
will be ignore when compare two string numberExample: '0123' <=> '123', return 0;
Solve: can check string and compare like code below
if (gettype($old) === 'string' && $old !== $new) {
return 1;
}
Beta Was this translation helpful? Give feedback.
All reactions