Closed sinasaeedi closed 2 years ago
I believe this is a result of the following PHPMD rule: https://phpmd.org/rules/design.html.
I can't help you in what the best solution would be for your particular use case. My extension only shows the output of PHPMD as vscode diagnostics (the curly underline in your editor), for advice about an error you can contact to the authors of PHPMD or post a question on e.g. stack overflow.
Hello there,
This is my code and I get this error:
The method redirect() contains an exit expression.
What should I do to make this right?