@@ -19,7 +19,7 @@ class Soap implements \Magento\TestFramework\TestCase\Webapi\AdapterInterface
19
19
/**
20
20
* SOAP client initialized with different WSDLs.
21
21
*
22
- * @var \Zend \Soap\Client[]
22
+ * @var \Laminas \Soap\Client[]
23
23
*/
24
24
protected $ _soapClients = ['custom ' => [], 'default ' => []];
25
25
@@ -67,15 +67,15 @@ public function call($serviceInfo, $arguments = [], $storeCode = null, $integrat
67
67
*
68
68
* @param string $serviceInfo PHP service interface name, should include version if present
69
69
* @param string|null $storeCode
70
- * @return \Zend \Soap\Client
70
+ * @return \Laminas \Soap\Client
71
71
*/
72
72
protected function _getSoapClient ($ serviceInfo , $ storeCode = null )
73
73
{
74
74
$ wsdlUrl = $ this ->generateWsdlUrl (
75
75
[$ this ->_getSoapServiceName ($ serviceInfo ) . $ this ->_getSoapServiceVersion ($ serviceInfo )],
76
76
$ storeCode
77
77
);
78
- /** @var \Zend \Soap\Client $soapClient */
78
+ /** @var \Laminas \Soap\Client $soapClient */
79
79
$ soapClient = null ;
80
80
if (isset ($ serviceInfo ['soap ' ]['token ' ])) {
81
81
$ token = $ serviceInfo ['soap ' ]['token ' ];
@@ -104,7 +104,7 @@ protected function _getSoapClient($serviceInfo, $storeCode = null)
104
104
*
105
105
* @param string $wsdlUrl
106
106
* @param string $token Authentication token
107
- * @return \Zend \Soap\Client
107
+ * @return \Laminas \Soap\Client
108
108
*/
109
109
public function instantiateSoapClient ($ wsdlUrl , $ token = null )
110
110
{
@@ -113,7 +113,7 @@ public function instantiateSoapClient($wsdlUrl, $token = null)
113
113
: \Magento \TestFramework \Authentication \OauthHelper::getApiAccessCredentials ()['key ' ];
114
114
$ opts = ['http ' => ['header ' => "Authorization: Bearer " . $ accessCredentials ]];
115
115
$ context = stream_context_create ($ opts );
116
- $ soapClient = new \Zend \Soap \Client ($ wsdlUrl );
116
+ $ soapClient = new \Laminas \Soap \Client ($ wsdlUrl );
117
117
$ soapClient ->setSoapVersion (SOAP_1_2 );
118
118
$ soapClient ->setStreamContext ($ context );
119
119
if (TESTS_XDEBUG_ENABLED ) {
0 commit comments