1
0
mirror of synced 2025-02-10 17:29:27 +03:00

use ternary

This commit is contained in:
ReenExe 2016-07-02 22:42:46 +03:00
parent db6c593463
commit c6675b0ce3

View File

@ -1566,11 +1566,9 @@ class UnitOfWork implements PropertyChangedListener
{ {
$stringIdHash = (string) $idHash; $stringIdHash = (string) $idHash;
if (isset($this->identityMap[$rootClassName][$stringIdHash])) { return isset($this->identityMap[$rootClassName][$stringIdHash])
return $this->identityMap[$rootClassName][$stringIdHash]; ? $this->identityMap[$rootClassName][$stringIdHash]
} : false;
return false;
} }
/** /**