use ternary
This commit is contained in:
parent
db6c593463
commit
c6675b0ce3
@ -1566,11 +1566,9 @@ class UnitOfWork implements PropertyChangedListener
|
||||
{
|
||||
$stringIdHash = (string) $idHash;
|
||||
|
||||
if (isset($this->identityMap[$rootClassName][$stringIdHash])) {
|
||||
return $this->identityMap[$rootClassName][$stringIdHash];
|
||||
}
|
||||
|
||||
return false;
|
||||
return isset($this->identityMap[$rootClassName][$stringIdHash])
|
||||
? $this->identityMap[$rootClassName][$stringIdHash]
|
||||
: false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user