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

Docblock Code action fixer break a function visibility word (public/private/protected) removes first 'p' symbol. #2647

Open
kevasesk opened this issue Apr 28, 2024 · 0 comments

Comments

@kevasesk
Copy link

I am using Neovim, Lazyvim, Mason. version of phpactor 2024.03.09.0
After write something like this code:

interface Some
{
public function eat();
}

I have an warning message "Method 'eat' is missing docblock return type: void"
To solve this using "Add missing @return tags" my code is replaced to this (code block added, but word 'public' became 'ublic'):

interface Some
{
/**
* @return void
*/
ublic function eat();
}

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