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';
}
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: