It seems like the GitHub access token used for retrieving details about this repository from
GitHub became invalid. This might prevent certain types of inspections from being run (in
particular,
everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
It is generally recommended to explicitly declare the visibility for methods.
Adding explicit visibility (private, protected, or public) is generally
recommend to communicate to other developers how, and from where this method
is intended to be used.
Loading history...
16
{
17
17
$this->serializer = $serializer;
18
17
}
19
20
/**
21
* [text arg=val /]
22
* [text arg=val]content[/text]
23
* [json arg=val /]
24
* [json arg=val]content[/json]
25
* [xml arg=val /]
26
* [xml arg=val]content[/xml]
27
* [yaml arg=val /]
28
* [yaml arg=val]content[/yaml]
29
*
30
* @param ShortcodeInterface $shortcode
31
*
32
* @return string
33
*/
34
2
public function __invoke(ShortcodeInterface $shortcode)
Adding explicit visibility (
private
,protected
, orpublic
) is generally recommend to communicate to other developers how, and from where this method is intended to be used.