1
0
mirror of synced 2025-03-06 04:46:13 +03:00

Update AbstractHydrator.php

revert strict comparison in hydration (fails on some dates)
This commit is contained in:
fullbl 2017-06-26 10:42:09 +02:00 committed by Marco Pivetta
parent db9c12f1af
commit 8cc29e84a0
No known key found for this signature in database
GPG Key ID: 4167D3337FD9D629

View File

@ -297,7 +297,7 @@ abstract class AbstractHydrator
if(
isset($cacheKeyInfo['discriminatorColumn']) &&
isset($data[$cacheKeyInfo['discriminatorColumn']]) &&
$data[$cacheKeyInfo['discriminatorColumn']] !== $cacheKeyInfo['discriminatorValue']
$data[$cacheKeyInfo['discriminatorColumn']] != $cacheKeyInfo['discriminatorValue']
){
break;
}