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:

whereas same configurations edited same thing but with 2 parameters like this:

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