Skip to content

Conversation

@joe-pritchard
Copy link

I've made a slight modification so that the ink function is called each time a field is redacted instead of being called once when set (which would basically mean the developer had to run the entire redaction on their own copy of the data?)

I've also added a note about this option to the readme, updated the test, and taken the liberty of upgrading the supported php versions in composer.json

Instead of calling the ink value if it's callable when the property is set, instead call it when actually redacting a value, so that a dynamic redacted value can be applied for each key in the array
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant