Why is the formatting different for these 2 functions?

I'm using PhpStorm PS-131.235 and I'm wondering why these 2 functions have different formattings when using reformat code?
Message was edited by: Francisco Lopes - the insert image didn't work, so I'm hosting it somewhere else.
请先登录再写评论。
Bump, this might be a bug in PhpStorm EAP.
It looks like a bug. You can file a bug report in YouTrack
Thank you for your response, I opened the issue http://youtrack.jetbrains.com/issue/WI-20543.