X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FNetwork%2FHTTPException%2FPreconditionFailedException.php;h=1a8f3f71f442fbfb81da713407115e69bc6e2aee;hb=46cd39fb34613f4b331793f19c0e562f93125066;hp=fd5fdbc995a072aeecd841a0f9b4095f40eed29b;hpb=c845415a99ebc348103815a7b2c55b15c75cdd24;p=friendica.git diff --git a/src/Network/HTTPException/PreconditionFailedException.php b/src/Network/HTTPException/PreconditionFailedException.php index fd5fdbc995..1a8f3f71f4 100644 --- a/src/Network/HTTPException/PreconditionFailedException.php +++ b/src/Network/HTTPException/PreconditionFailedException.php @@ -1,4 +1,23 @@ . + * + */ namespace Friendica\Network\HTTPException; @@ -6,5 +25,7 @@ use Friendica\Network\HTTPException; class PreconditionFailedException extends HTTPException { - var $httpcode = 412; + protected $code = 412; + protected $httpdesc = 'Precondition Failed'; + protected $explanation = 'The server does not meet one of the preconditions that the requester put on the request header fields.'; }