Alignment parameters in multiple functions
Answered
Hello,
Firstly, sorry for my English, I'm not natvie English speaker.
Secondly: Is there a way to aligning parameters in multiple functions? For example, I have route class, where I have sample code:
$app->post('/user/login', ['uses' => 'UserController@login', 'middleware' => 'jwt.auth']);
$app->post('/user/logout', ['uses' => 'UserController@logout', 'middleware' => 'jwt.auth']);
$app->post('/user/register', ['uses' => 'UserController@register', 'middleware' => 'jwt.auth']);
$app->post('/user/summary', ['uses' => 'UserController@summary', 'middleware' => 'jwt.auth']);
And what I wanted to do is align all parameters in the same methods, eg. https://pastebin.com/raw/PGPtL6nC
Is there a option to this alignments?
Regards.
Please sign in to leave a comment.
Unfortunately no, please vote for https://youtrack.jetbrains.com/issue/WI-12233 to track the feature request progress
Voted. Thanks for answer.