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

Wrong phpdoc/autocomplete for array_key_exists #264

Open
flack opened this issue Dec 14, 2023 · 0 comments
Open

Wrong phpdoc/autocomplete for array_key_exists #264

flack opened this issue Dec 14, 2023 · 0 comments
Labels

Comments

@flack
Copy link

flack commented Dec 14, 2023

Describe the bug

Since a couple of weeks or so, PDT gives the wrong signature for array_key _exists (haven't checked other functions, just noticed it on this one). For some reason it thinks that the first parameter is optional (which is invalid even in recent PHP versions)

Describe the eclipse environment

Eclipse 20231201-2043
PDT 8.3.0.202312021952

Describe your system

  • OS: Ubuntu
  • Version 23.10

To Reproduce
Steps to reproduce the behavior:

  1. enter array_key_
  2. wait for tooltip to show up
  3. press enter
  4. first param missing

Expected behavior
Both parameters are mandatory, it should be shown as such, and autocomplete sure write out both

Screenshots

PHPdoc:

Screenshot_20231214_121536

when hitting Enter:

Screenshot_20231214_121510

Additional context
Add any other context about the problem here.

@flack flack added the bug label Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant