diff --git a/core/modules/dblog/src/Plugin/rest/resource/DBLogResource.php b/core/modules/dblog/src/Plugin/rest/resource/DBLogResource.php index 9e81834..4aff6bd 100644 --- a/core/modules/dblog/src/Plugin/rest/resource/DBLogResource.php +++ b/core/modules/dblog/src/Plugin/rest/resource/DBLogResource.php @@ -36,7 +36,10 @@ class DBLogResource extends ResourceBase { * @return \Drupal\rest\ResourceResponse * The response containing the log entry. * - * @throws \Symfony\Component\HttpKernel\Exception\HttpException + * @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException + * Thrown when the log entry was not found. + * @throws \Symfony\Component\HttpKernel\Exception\BadRequestHttpException + * Thrown when no log entry was provided. */ public function get($id = NULL) { if ($id) {