diff --git a/src/Vendors/IslamiBankApi.php b/src/Vendors/IslamiBankApi.php
index 32e99dc..0d88ec9 100644
--- a/src/Vendors/IslamiBankApi.php
+++ b/src/Vendors/IslamiBankApi.php
@@ -51,11 +51,10 @@ public function __construct()
*/
public function fetchBalance(string $currency): SimpleXMLElement
{
- $xmlString = '
- '.$this->config[$this->status]['username'].'
- '.$this->config[$this->status]['password'].'
- '.$currency.'
- ';
+ $xmlString = "
+ {$this->config[$this->status]['username']}
+ {$this->config[$this->status]['password']}
+ {$currency}";
$soapMethod = 'fetchBalance';
$response = $this->connectionCheck($xmlString, $soapMethod);
@@ -301,16 +300,15 @@ private function connectionCheck($xml_post_string, $method): SimpleXMLElement
public function xmlGenerate($string, $method): string
{
- return '
-
-
-
-
- '.$string.'
-
-
-
- ';
+ return <<
+
+
+
+ {$string}
+
+
+XML;
}
/**