@@ -37,7 +37,6 @@ |
||
| 37 | 37 | /** |
| 38 | 38 | * Build error control chain for an application |
| 39 | 39 | * |
| 40 | - * @param Application $application The SilverStripe Application. |
|
| 41 | 40 | */ |
| 42 | 41 | public function __construct() |
| 43 | 42 | { |
@@ -67,6 +67,9 @@ |
||
| 67 | 67 | } |
| 68 | 68 | } |
| 69 | 69 | |
| 70 | + /** |
|
| 71 | + * @param string $message |
|
| 72 | + */ |
|
| 70 | 73 | protected function getErrorResponse($message, $responseCode = 500) |
| 71 | 74 | { |
| 72 | 75 | $response = (new OAuthServerException($message, 100, 'server_error', $responseCode)) |