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.
The doc-type array(FooGalleryAttachment) could not be parsed: Expected "|" or "end of type", but got "(" at position 5. (view supported doc-types)
This check marks PHPDoc comments that could not be parsed by our parser. To see
which comment annotations we can parse, please refer to our documentation on
supported doc-types.
Loading history...
25
*/
26
public function getAttachments();
27
28
/**
29
* Returns the featured FooGalleryAttachment from the datasource
30
* @return bool|FooGalleryAttachment
31
*/
32
public function getFeaturedAttachment();
33
34
/**
35
* Returns a serialized string that represents the media in the datasource.
36
* This string is persisted when saving a FooGallery
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.