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.
ContentTypeController::getAvailableContentTypes()
A
Should the return type not be \vsc\presentation\responses\HttpResponseA|null?
This check compares the return type specified in the @return annotation of a function
or method doc comment with the types returned by the function and raises an issue if they
mismatch.
Loading history...
36
*/
37
1
public function getResponse(HttpRequestA $oRequest, $oProcessor = null) {
Should the return type not be \vsc\presentation\responses\HttpResponseA|null?
This check compares the return type specified in the @return annotation of a function
or method doc comment with the types returned by the function and raises an issue if they
mismatch.
Loading history...
46
*/
47
public function getErrorResponse(\Exception $e, $oRequest = null) {
Both the $myVar assignment in line 1 and the $higher assignment in line 2
are dead. The first because $myVar is never used and the second because
$higher is always overwritten for every possible time line.
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.