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

Indenting isn't correct #5

Open
JimmyBanks opened this issue Aug 12, 2021 · 1 comment
Open

Indenting isn't correct #5

JimmyBanks opened this issue Aug 12, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@JimmyBanks
Copy link

When using "Insert PHP8 Getter" the indents are off

As shown in the attached screenshot, the indents are one too far for the method, and doubled for the return statement.

Screen Shot 2021-08-11 at 11 07 42 PM

@r4ven1245
Copy link
Owner

The easy fix would be to just check if the declaration is a parameter, and then if the indentation is above 2, decrease it by 1.
Will fix

@r4ven1245 r4ven1245 self-assigned this Oct 25, 2021
@r4ven1245 r4ven1245 added the bug Something isn't working label Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants