Remove unused call to spl_object_hash()

The resulting variable $oid is never used.
Merge pull request #722 from Danez/patch-1

Remove unused call to spl_object_hash()