Issue #3535303 by aaronbauman: SplObjectStorage::contains(): Argument #1 ($object) must be of type object, null given
Closes #3535303