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

[ErrorException] Undefined index: type #6709

Closed
genius4339 opened this issue Dec 15, 2022 · 4 comments
Closed

[ErrorException] Undefined index: type #6709

genius4339 opened this issue Dec 15, 2022 · 4 comments

Comments

@genius4339
Copy link

if ($index >= 2 && 0 === $nbScopes && !\in_array($token['type'], [DocLexer::T_NONE, DocLexer::T_OPEN_PARENTHESIS], true)) {

[ErrorException] Undefined index: type
please fix it

@kubawerlos
Copy link
Contributor

Hello @genius4339 and welcome to the open source community where everyone is welcome to create a pull request with changes, e.g. with a bufix for an issue.

Would you like to give it a try and raise a fixing PR? We would be glad to review and merge it!

@genius4339
Copy link
Author

genius4339 commented Dec 16, 2022

Hello @genius4339 and welcome to the open source community where everyone is welcome to create a pull request with changes, e.g. with a bufix for an issue.

Would you like to give it a try and raise a fixing PR? We would be glad to review and merge it!

this is my pr , please review it. Thank You. @kubawerlos
5694dd6

@julienfalque
Copy link
Member

This looks like #6706. Did you try upgrading doctrine/annotations?

@genius4339
Copy link
Author

This looks like #6706. Did you try upgrading doctrine/annotations?

This looks like #6706. Did you try upgrading doctrine/annotations?

thank you! when i upgrade doctrine/annotations, the exception is resovled~

@julienfalque julienfalque closed this as not planned Won't fix, can't repro, duplicate, stale Dec 26, 2022
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

3 participants