#1333 - Removing unused is_string()
function call and cast (always a string)
This commit is contained in:
parent
d6687e070e
commit
40c41857e8
@ -2940,10 +2940,6 @@ class UnitOfWork implements PropertyChangedListener
|
||||
{
|
||||
$idHash = implode(' ', (array) $id);
|
||||
|
||||
if (! is_string($idHash)) {
|
||||
$idHash = (string) $idHash;
|
||||
}
|
||||
|
||||
if (isset($this->identityMap[$rootClassName][$idHash])) {
|
||||
return $this->identityMap[$rootClassName][$idHash];
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user