Skip to content

PHP Warning in static method call reflector. #237

@dd32

Description

@dd32

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions