Remove unused call to spl_object_hash()

The resulting variable $oid is never used.