Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.0.4 Allow variable list on one line for multiline closures #7

Merged
merged 1 commit into from
Oct 10, 2018

Conversation

sjokki
Copy link

@sjokki sjokki commented Oct 10, 2018

https://www.php-fig.org/psr/psr-2/#6-closures explicitly shows that the
following is allowed:

$longArgs_shortVars = function (
    $longArgument,
    $longerArgument,
    $muchLongerArgument
) use ($var1) {
    // body
};

https://www.php-fig.org/psr/psr-2/#6-closures explicitly shows that the
following is allowed:

```
$longArgs_shortVars = function (
    $longArgument,
    $longerArgument,
    $muchLongerArgument
) use ($var1) {
    // body
};
```
@marcelmediact marcelmediact merged commit d28e6e4 into master Oct 10, 2018
@ashokadewit ashokadewit deleted the feature/JHMG-19 branch June 9, 2020 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants