@@ -66,6 +66,7 @@ public function __construct(MessageFactory $messageFactory, StreamFactory $strea
6666
6767 /**
6868 * @return RequestInterface
69+ *
6970 * @throws RequestException
7071 */
7172 public function getHttpRequest (): RequestInterface
@@ -89,15 +90,15 @@ public function getHttpRequest(): RequestInterface
8990 }
9091
9192 /**
92- * @param string $endpoint
93+ * @param string $endpoint
9394 */
9495 public function setEndpoint (string $ endpoint )
9596 {
9697 $ this ->endpoint = $ endpoint ;
9798 }
9899
99100 /**
100- * @param array $headers
101+ * @param array $headers
101102 */
102103 public function setHeaders (array $ headers )
103104 {
@@ -121,15 +122,15 @@ public function isSOAP12()
121122 }
122123
123124 /**
124- * @param string $soapAction
125+ * @param string $soapAction
125126 */
126127 public function setSoapAction (string $ soapAction )
127128 {
128129 $ this ->soapAction = $ soapAction ;
129130 }
130131
131132 /**
132- * @param string $content
133+ * @param string $content
133134 */
134135 public function setSoapMessage (string $ content )
135136 {
@@ -138,7 +139,7 @@ public function setSoapMessage(string $content)
138139 }
139140
140141 /**
141- * @param string $method
142+ * @param string $method
142143 */
143144 public function setHttpMethod (string $ method )
144145 {
@@ -147,6 +148,7 @@ public function setHttpMethod(string $method)
147148
148149 /**
149150 * @return void
151+ *
150152 * @throws \Phpro\SoapClient\Exception\RequestException
151153 */
152154 private function validate ()
@@ -161,6 +163,7 @@ private function validate()
161163
162164 /**
163165 * SOAP 1.1 only defines HTTP binding with POST method.
166+ *
164167 * @link https://www.w3.org/TR/2000/NOTE-SOAP-20000508/#_Toc478383527
165168 */
166169 if ($ this ->soapVersion === self ::SOAP11 && $ this ->httpMethod !== 'POST ' ) {
@@ -169,6 +172,7 @@ private function validate()
169172
170173 /**
171174 * SOAP 1.2 only defines HTTP binding with POST and GET methods.
175+ *
172176 * @link https://www.w3.org/TR/2007/REC-soap12-part0-20070427/#L10309
173177 */
174178 if ($ this ->soapVersion === self ::SOAP12 && ! in_array ($ this ->httpMethod , ['GET ' , 'POST ' ])) {
@@ -190,6 +194,7 @@ private function prepareHeaders(): array
190194
191195 /**
192196 * @link https://www.w3.org/TR/2000/NOTE-SOAP-20000508/#_Toc478383526
197+ *
193198 * @return array
194199 */
195200 private function prepareSoap11Headers (): array
@@ -205,7 +210,9 @@ private function prepareSoap11Headers(): array
205210 /**
206211 * SOAPAction header is removed in SOAP 1.2 and now expressed as a value of
207212 * an (optional) "action" parameter of the "application/soap+xml" media type.
213+ *
208214 * @link https://www.w3.org/TR/soap12-part0/#L4697
215+ *
209216 * @return array
210217 */
211218 private function prepareSoap12Headers (): array
0 commit comments