use ternary
This commit is contained in:
parent
db6c593463
commit
c6675b0ce3
@ -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;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user