Don't want the space between anonymous functions

Hello,

Am coding in PHPStorm and I use Laravel convention, but when I reformat my code, there is a space between the function keyword and the parenthesis and I don't like that. I go to the code style settings and I can't find option to remove that. Is there any way to do so?

An axample to illustrate:
    $this->app->bindShared('view', function ($app)
    {
        // the code here
    });

and I want:

     $this->app->bindShared('view', function($app)
     {
          // the code here
     });

Thank you in advance :)

3 comments
Comment actions Permalink

Hi,

File | Settings | Code style | PHP | Spaces | Function declaration parentness.
(For not anonymous functions)

For anonymous there is no such possibility, please describe the feature request: http://youtrack.jetbrains.com/issues/WI#newissue=yes more detailed in our tracking system YouTrack.

See http://intellij-support.jetbrains.com/entries/23368682 if you are not familiar with YouTrack.

0

Please sign in to leave a comment.