-
Hey ya’ll.
I’m working (still very early stages) on a free WPGraphQL extension for Rank Math, and noticed that
Helper::choices_rich_snippet_types()is throwing a static analysis error.That’s because the docblock defines the
$noneparam as a boolean, when it should be@param false|string $none Add none option to the list.since theofftype is only returned if a(string)description is provided to the param.Obviously check yourself, but I confirmed only strings are being passed in the core plugin (I dont have PRO yet).
Best,
David
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The ticket ‘Wrong @param type for Helper::choices_rich_snippet_types()’ is closed to new replies.