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