Calling Builder::where with ($someKey, '!=', null) would not result in a "is not null" constraint

See #6515.
braces need to be on separate lines.