@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | switch ($soapver) { |
54 | 54 | case SOAP_1_1: |
55 | 55 | $parameters[] = "Content-Type: text/xml;charset=UTF-8;"; |
56 | - if(!empty($action)) $parameters[] = "SOAPAction: \"$action\""; |
|
56 | + if (!empty($action)) $parameters[] = "SOAPAction: \"$action\""; |
|
57 | 57 | $parameters[] = "Content-length: $msgSize"; |
58 | 58 | break; |
59 | 59 | case SOAP_1_2: |
@@ -61,14 +61,14 @@ discard block |
||
61 | 61 | "Content-Type: application/soap+xml;charset=utf-8;", |
62 | 62 | "Content-length: $msgSize" |
63 | 63 | ]; |
64 | - if(!empty($action)) $parameter[0] .= "action=$action"; |
|
64 | + if (!empty($action)) $parameter[0] .= "action=$action"; |
|
65 | 65 | break; |
66 | 66 | default: |
67 | 67 | $parameters = [ |
68 | 68 | "Content-Type: application/soap+xml;charset=utf-8;", |
69 | 69 | "Content-length: $msgSize" |
70 | 70 | ]; |
71 | - if(!empty($action)) $parameter[0] .= "action=$action"; |
|
71 | + if (!empty($action)) $parameter[0] .= "action=$action"; |
|
72 | 72 | break; |
73 | 73 | } |
74 | 74 |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | switch ($soapver) { |
72 | 72 | case SOAP_1_1: |
73 | 73 | $parameters[] = "Content-Type: text/xml;charset=UTF-8;"; |
74 | - if(!empty($action)) $parameters[] = "SOAPAction: \"$action\""; |
|
74 | + if (!empty($action)) $parameters[] = "SOAPAction: \"$action\""; |
|
75 | 75 | $parameters[] = "Content-length: $msgSize"; |
76 | 76 | break; |
77 | 77 | case SOAP_1_2: |
@@ -79,14 +79,14 @@ discard block |
||
79 | 79 | "Content-Type: application/soap+xml;charset=utf-8;", |
80 | 80 | "Content-length: $msgSize" |
81 | 81 | ]; |
82 | - if(!empty($action)) $parameter[0] .= "action=$action"; |
|
82 | + if (!empty($action)) $parameter[0] .= "action=$action"; |
|
83 | 83 | break; |
84 | 84 | default: |
85 | 85 | $parameters = [ |
86 | 86 | "Content-Type: application/soap+xml;charset=utf-8;", |
87 | 87 | "Content-length: $msgSize" |
88 | 88 | ]; |
89 | - if(!empty($action)) $parameter[0] .= "action=$action"; |
|
89 | + if (!empty($action)) $parameter[0] .= "action=$action"; |
|
90 | 90 | break; |
91 | 91 | } |
92 | 92 |