Need help in Clang format

Greetings of the day,
I was working on clang-format and needed some help. I ran clang-format on the file got this: https://review.haiku-os.org/c/haiku/+/4098/1/src/preferences/input/MouseView.cpp#149

whereas same configurations edited same thing but with 2 parameters like this: https://review.haiku-os.org/c/haiku/+/4098/1/src/preferences/input/MouseView.cpp#157

I have set my configuration to:
Style.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_Empty;
Style.AlwaysBreakAfterReturnType = FormatStyle::RTBS_TopLevelDefinitions;

Why is this happening? Am I doing something wrong? Please help.

Thank you
Saloni