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
The method convertToPHPValue of class XMLType returns boolean true if nullable column equals null. The use of short comparison operator is causing this issue.
Solution:
This block:
publicfunctionconvertToPHPValue($value, AbstractPlatform$platform)
{
return$value === null ?: new \SimpleXMLElement($value);
}
The method convertToPHPValue of class XMLType returns boolean true if nullable column equals null. The use of short comparison operator is causing this issue.
Solution:
This block:
Should be replaced by this:
Or for PHP versions >= 7:
See [PR-22]](#22) for PHP version > 5 fix.
The text was updated successfully, but these errors were encountered: