@@ -173,7 +173,7 @@ public function deleteCustomerWithHttpInfo($customerId, $profileId = null)
173173 $ httpBody = MLEUtility::encryptRequestPayload ($ this ->apiClient ->merchantConfig , $ httpBody );
174174 } catch (Exception $ e ) {
175175 self ::$ logger ->error ("Failed to encrypt request body: $ e " );
176- throw new ApiException ("Failed to encrypt request body : " + $ e ->getMessage ());
176+ throw new ApiException ("Failed to encrypt request body : " . $ e ->getMessage ());
177177 }
178178 }
179179
@@ -317,7 +317,7 @@ public function getCustomerWithHttpInfo($customerId, $profileId = null)
317317 $ httpBody = MLEUtility::encryptRequestPayload ($ this ->apiClient ->merchantConfig , $ httpBody );
318318 } catch (Exception $ e ) {
319319 self ::$ logger ->error ("Failed to encrypt request body: $ e " );
320- throw new ApiException ("Failed to encrypt request body : " + $ e ->getMessage ());
320+ throw new ApiException ("Failed to encrypt request body : " . $ e ->getMessage ());
321321 }
322322 }
323323
@@ -485,7 +485,7 @@ public function patchCustomerWithHttpInfo($customerId, $patchCustomerRequest, $p
485485 $ httpBody = MLEUtility::encryptRequestPayload ($ this ->apiClient ->merchantConfig , $ httpBody );
486486 } catch (Exception $ e ) {
487487 self ::$ logger ->error ("Failed to encrypt request body: $ e " );
488- throw new ApiException ("Failed to encrypt request body : " + $ e ->getMessage ());
488+ throw new ApiException ("Failed to encrypt request body : " . $ e ->getMessage ());
489489 }
490490 }
491491
@@ -636,7 +636,7 @@ public function postCustomerWithHttpInfo($postCustomerRequest, $profileId = null
636636 $ httpBody = MLEUtility::encryptRequestPayload ($ this ->apiClient ->merchantConfig , $ httpBody );
637637 } catch (Exception $ e ) {
638638 self ::$ logger ->error ("Failed to encrypt request body: $ e " );
639- throw new ApiException ("Failed to encrypt request body : " + $ e ->getMessage ());
639+ throw new ApiException ("Failed to encrypt request body : " . $ e ->getMessage ());
640640 }
641641 }
642642
0 commit comments