[Web] Replaced die(); with exit(); due to code conventions

This commit is contained in:
ntimo
2019-10-04 08:40:24 +02:00
parent 0f5c930e48
commit cb9ab928b3
3 changed files with 6 additions and 6 deletions

View File

@@ -13,7 +13,7 @@ use OAuth2\ResponseInterface;
* @code
* if (!$resourceController->verifyResourceRequest(OAuth2\Request::createFromGlobals(), $response = new OAuth2\Response())) {
* $response->send(); // authorization failed
* die();
* exit();
* }
* return json_encode($resource); // valid token! Send the stuff!
* @endcode