From 9a542c91087ca801a23a876c37f1ff6414aacfa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torsten=20L=C3=BCcke?= Date: Wed, 7 Apr 2021 11:58:15 +0200 Subject: [PATCH] Die Definition der Typen war nicht ausreichend. --- api/src/Controller/HttpConflictRequestException.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/api/src/Controller/HttpConflictRequestException.php b/api/src/Controller/HttpConflictRequestException.php index 816fe2e..f995249 100644 --- a/api/src/Controller/HttpConflictRequestException.php +++ b/api/src/Controller/HttpConflictRequestException.php @@ -6,16 +6,15 @@ use Slim\Exception\HttpSpecializedException; class HttpConflictRequestException extends HttpSpecializedException { - /** - * @var int - */ + /** @var int */ protected $code = 409; - /** - * @var string - */ + /** @var string */ protected $message = 'Conflict.'; + /** @var string */ protected $title = '409 Conflict'; + + /** @var string */ protected $description = 'The 409 (Conflict) status code indicates that the request could not be completed due to a conflict with the current state of the target resource.'; }