1
0
mirror of synced 2024-12-05 03:06:05 +03:00

#1333 - Removing unused is_string() function call and cast (always a string)

This commit is contained in:
Marco Pivetta 2015-03-17 21:12:20 +00:00
parent d6687e070e
commit 40c41857e8

View File

@ -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];
}