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

intelephense.diagnostics.typeErrors does not appear to work #59

Open
esetnik opened this issue Apr 14, 2023 · 1 comment
Open

intelephense.diagnostics.typeErrors does not appear to work #59

esetnik opened this issue Apr 14, 2023 · 1 comment

Comments

@esetnik
Copy link
Contributor

esetnik commented Apr 14, 2023

intelephense.diagnostics.typeErrors: Enables diagnostics on type compatibility of arguments, property assignments, and return statements where types have been declared, default: true

In the following sample code no diagnostic error is generated:

    public function test(string $arg): int
    {
        return 'test';
    }
@yaegassy
Copy link
Owner

Hi, I have confirmed it. it will be reproduced. It seems to be a problem on the language server side.

Related issue: bmewburn/vscode-intelephense#2389

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

2 participants