You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As described in the manual, the Fixer returns the original string if it can't be fixed.
(new Fixer)->silent()->fix('invalid');
// 'invalid'
This is maybe not the best way, because it is not possible to detect, if an error occured or not.
If any error happens silently, the function should return false.
The text was updated successfully, but these errors were encountered:
Sorry for late. Thanks for raising issue. I think it makes sense. Would be great if you could do quick PR :)
Just my thought, I think return false should not be default or at least should be configurable to achieve current working. Perhaps we add falseOnFailure() method to achieve your proposal? 😎
Thank you for this great and helpful library.
As described in the manual, the Fixer returns the original string if it can't be fixed.
This is maybe not the best way, because it is not possible to detect, if an error occured or not.
If any error happens silently, the function should return false.
The text was updated successfully, but these errors were encountered: