diff options
Diffstat (limited to 'vendor/paypal/paypalhttp/lib/PayPalHttp/HttpResponse.php')
-rw-r--r-- | vendor/paypal/paypalhttp/lib/PayPalHttp/HttpResponse.php | 68 |
1 files changed, 34 insertions, 34 deletions
diff --git a/vendor/paypal/paypalhttp/lib/PayPalHttp/HttpResponse.php b/vendor/paypal/paypalhttp/lib/PayPalHttp/HttpResponse.php index ef8fb35..7d46dd2 100644 --- a/vendor/paypal/paypalhttp/lib/PayPalHttp/HttpResponse.php +++ b/vendor/paypal/paypalhttp/lib/PayPalHttp/HttpResponse.php @@ -1,34 +1,34 @@ -<?php - -namespace PayPalHttp; - -/** - * Class HttpResponse - * @package PayPalHttp - * - * Object that holds your response details - */ -class HttpResponse -{ - /** - * @var integer - */ - public $statusCode; - - /** - * @var array | string - */ - public $result; - - /** - * @var array - */ - public $headers; - - public function __construct($statusCode, $body, $headers) - { - $this->statusCode = $statusCode; - $this->headers = $headers; - $this->result = $body; - } -} +<?php
+
+namespace PayPalHttp;
+
+/**
+ * Class HttpResponse
+ * @package PayPalHttp
+ *
+ * Object that holds your response details
+ */
+class HttpResponse
+{
+ /**
+ * @var int
+ */
+ public $statusCode;
+
+ /**
+ * @var array | string | object
+ */
+ public $result;
+
+ /**
+ * @var array
+ */
+ public $headers;
+
+ public function __construct($statusCode, $body, $headers)
+ {
+ $this->statusCode = $statusCode;
+ $this->headers = $headers;
+ $this->result = $body;
+ }
+}
|