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

PHP Warning in static method call reflector. #237

Open
dd32 opened this issue Jan 16, 2024 · 0 comments
Open

PHP Warning in static method call reflector. #237

dd32 opened this issue Jan 16, 2024 · 0 comments

Comments

@dd32
Copy link
Member

dd32 commented Jan 16, 2024

PHP Warning: implode(): Invalid arguments passed in wp-content/plugins/phpdoc-parser/lib/class-static-method-call-reflector.php on line 18

I'm not sure what triggers it, but it's triggered with WordPress 6.4.2.

[16-Jan-2024 03:27:06 UTC] PHP  18. WP_Parser\Static_Method_Call_Reflector->getName() wp-content/plugins/phpdoc-parser/lib/runner.php:372
[16-Jan-2024 03:27:06 UTC] PHP  19. implode($glue = '\\', $pieces = NULL) wp-content/plugins/phpdoc-parser/lib/class-static-method-call-reflector.php:18

NULL is not a valid input to implode() here:

https://github.com/WordPress/phpdoc-parser/blob/master/lib/class-static-method-call-reflector.php#L18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant