在setting -> editor -> code style -> php -> Wrapping and Braces -> Braces placement In function declaration 选择End of line
PHPstorm中格式化让function的花括号跟在方法名后面,而不是另起一行
本文介绍如何在IDE中调整PHP函数声明中的大括号位置,使其符合个人或团队的代码风格偏好。
本文介绍如何在IDE中调整PHP函数声明中的大括号位置,使其符合个人或团队的代码风格偏好。
在setting -> editor -> code style -> php -> Wrapping and Braces -> Braces placement In function declaration 选择End of line