@@ -115,8 +115,6 @@ |
||
115 | 115 | * Prepares a request. |
116 | 116 | * |
117 | 117 | * @param string $actionPath The path of action. |
118 | - * @param string $method The http method. |
|
119 | - * @param array $data The parameters of action. |
|
120 | 118 | * @param array $server The server parameters. |
121 | 119 | * |
122 | 120 | * @return Request |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | /** |
44 | 44 | * Getter for content. |
45 | 45 | * |
46 | - * @return mixed |
|
46 | + * @return string|null |
|
47 | 47 | */ |
48 | 48 | public function getContent() |
49 | 49 | { |
@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | * @param mixed $content The content of response. |
157 | 157 | * @param integer $statusCode The code status of response. |
158 | 158 | * |
159 | - * @return \static |
|
159 | + * @return Response |
|
160 | 160 | */ |
161 | 161 | public static function create($content, $statusCode) |
162 | 162 | { |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | && strlen($this->password) > 0) { |
54 | 54 | $xsdNamespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"; |
55 | 55 | |
56 | - $usernameSoapVar = new \SoapVar( |
|
56 | + $usernameSoapVar = new \SoapVar( |
|
57 | 57 | $this->username, |
58 | 58 | XSD_STRING, |
59 | 59 | null, |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | null, |
62 | 62 | $xsdNamespace |
63 | 63 | ); |
64 | - $passwordSoapVar = new \SoapVar( |
|
64 | + $passwordSoapVar = new \SoapVar( |
|
65 | 65 | $this->password, |
66 | 66 | XSD_STRING, |
67 | 67 | null, |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | 'UsernameToken', |
88 | 88 | $xsdNamespace |
89 | 89 | ); |
90 | - $secHeaderValue = new \SoapVar( |
|
90 | + $secHeaderValue = new \SoapVar( |
|
91 | 91 | $wsseTokenSoapVar, |
92 | 92 | SOAP_ENC_OBJECT, |
93 | 93 | null, |