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.
Are you sure the assignment to $this->baseXpath is correct as $extractor->getBaseXpath() (which targets Magium\Extractors\Navigation\Menu::getBaseXpath()) seems to always return null.
This check looks for function or method calls that always return null and whose
return value is assigned to a variable.
Are you sure the assignment to $this->childXpath is correct as $extractor->getChildXpath() (which targets Magium\Extractors\Navigation\Menu::getChildXpath()) seems to always return null.
This check looks for function or method calls that always return null and whose
return value is assigned to a variable.
This check looks for function or method calls that always return null and whose return value is assigned to a variable.
The method
getObject()
can return nothing but null, so it makes no sense to assign that value to a variable.The reason is most likely that a function or method is imcomplete or has been reduced for debug purposes.