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

PHP formatter thinks method is for loop #397

Open
mskenderian-wps opened this issue Jun 27, 2019 · 0 comments
Open

PHP formatter thinks method is for loop #397

mskenderian-wps opened this issue Jun 27, 2019 · 0 comments

Comments

@mskenderian-wps
Copy link

there is a bug, the package things this method is a for loop and its adds { }, if i change the method name to something else forTest(). the { } doesnt get added.

before

$results = QueryBuilder::for(TankReport::class)->allowedFilters(Filter::exact('model_id'));

after

$results = QueryBuilder::for (TankReport::class) {
        ->allowedFilters(Filter::exact('model_id'));
}
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

No branches or pull requests

1 participant