]> git.mxchange.org Git - friendica.git/blobdiff - src/Network/HTTPException/UnprocessableEntityException.php
Merge pull request #12063 from Quix0r/fixes/type-hints-reformatting
[friendica.git] / src / Network / HTTPException / UnprocessableEntityException.php
index 41f952941e2334158f5234208e9c2c36e9c54360..adfed04bebf838b0ccb96ab916adfa42dfe81520 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -25,5 +25,7 @@ use Friendica\Network\HTTPException;
 
 class UnprocessableEntityException extends HTTPException
 {
-       protected $code = 422;
+       protected $code        = 422;
+       protected $httpdesc    = 'Unprocessable Entity';
+       protected $explanation = 'The request was well-formed but was unable to be followed due to semantic errors.';
 }