Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't replace array data for custom types.
In the comments attached to 7468434, a few people mentioned that those changes broke their custom types. This change moves the forced casting of array data into the string/text handling only. The original intention was not to disturb/break custom type objects. As a side effect of this change boolean handling now better reflects the internal PHP handling of values in that arrays are truthy.
- Loading branch information
Showing
2 changed files
with
21 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters