@@ -38,7 +38,7 @@ discard block |
||
| 38 | 38 | * @method buildBasePayload |
| 39 | 39 | * @author PA |
| 40 | 40 | * @date 2017-01-09 |
| 41 | - * @return SimpleXMLElement XML Envelope with necessary credential parameters |
|
| 41 | + * @return \SimpleXMLElement XML Envelope with necessary credential parameters |
|
| 42 | 42 | */ |
| 43 | 43 | public function buildBasePayload() : \SimpleXMLElement |
| 44 | 44 | { |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | * @date 2017-01-10 |
| 89 | 89 | * @param string $method Your Membership API Function Name |
| 90 | 90 | * @param array $arguments Your Membership Arguments |
| 91 | - * @return SimpleXMLElement |
|
| 91 | + * @return \SimpleXMLElement |
|
| 92 | 92 | */ |
| 93 | 93 | public function buildXMLBody(string $method, array $arguments) : \SimpleXMLElement |
| 94 | 94 | { |
@@ -143,8 +143,8 @@ discard block |
||
| 143 | 143 | * @method sxmlAppend |
| 144 | 144 | * @author PA |
| 145 | 145 | * @date 2017-01-09 |
| 146 | - * @param SimpleXMLElement $to |
|
| 147 | - * @param SimpleXMLElement $from |
|
| 146 | + * @param \SimpleXMLElement $to |
|
| 147 | + * @param \SimpleXMLElement $from |
|
| 148 | 148 | * @return void |
| 149 | 149 | */ |
| 150 | 150 | private function sxmlAppend(\SimpleXMLElement $to, \SimpleXMLElement $from) { |
@@ -10,6 +10,9 @@ discard block |
||
| 10 | 10 | private $method; |
| 11 | 11 | private $response; |
| 12 | 12 | |
| 13 | + /** |
|
| 14 | + * @param \Psr\Http\Message\ResponseInterface $response |
|
| 15 | + */ |
|
| 13 | 16 | public function __construct(string $method, $response) |
| 14 | 17 | { |
| 15 | 18 | $this->method = $method; |
@@ -74,7 +77,7 @@ discard block |
||
| 74 | 77 | * @throws YourMembershipException |
| 75 | 78 | * @author PA |
| 76 | 79 | * @date 2017-01-11 |
| 77 | - * @return stdClass Response |
|
| 80 | + * @return \stdClass Response |
|
| 78 | 81 | */ |
| 79 | 82 | public function toObject() : \stdClass |
| 80 | 83 | { |