Are you sure App\Controller\AbstractController::makeJWT() of type mixed|Psr\Http\Message\ResponseInterface can be used in concatenation?
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
$e of type GuzzleHttp\Exception\GuzzleException is incompatible with the type string expected by parameter $message of Exception::__construct().
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the ignore-type annotation
53
throw new \Exception(/** @scrutinizer ignore-type */ $e);
Loading history...
54
}
55
return null;
56
}
57
58
}
59
60
61
/**
62
* Generic function to POST OpenLRW routes
63
*
64
* @param String $route
65
* @param array $args
66
* @return mixed|object
67
* @throws \GuzzleHttp\Exception\GuzzleException
68
*/
69
public function post(String $route, array $args) // ToDo : add JWT