phpdoc-parser
phpdoc-parser copied to clipboard
PHP Warning in static method call reflector.
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