File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ public function isEnabled(string $storeId = null): bool
6969 */
7070 public function getAccountId (string $ storeId = null ): string
7171 {
72- return ( string )$ this ->getConfig (self ::XML_PATH_ACCOUNT_ID , $ storeId );
72+ return trim (( string )$ this ->getConfig (self ::XML_PATH_ACCOUNT_ID , $ storeId) );
7373 }
7474
7575 /**
@@ -80,7 +80,7 @@ public function getAccountId(string $storeId = null): string
8080 */
8181 public function getContainerId (string $ storeId = null ): string
8282 {
83- return ( string )$ this ->getConfig (self ::XML_PATH_CONTAINER_ID , $ storeId );
83+ return trim (( string )$ this ->getConfig (self ::XML_PATH_CONTAINER_ID , $ storeId) );
8484 }
8585
8686 /**
@@ -91,7 +91,7 @@ public function getContainerId(string $storeId = null): string
9191 */
9292 public function getPublicId (string $ storeId = null ): string
9393 {
94- return ( string )$ this ->getConfig (self ::XML_PATH_PUBLIC_ID , $ storeId );
94+ return trim (( string )$ this ->getConfig (self ::XML_PATH_PUBLIC_ID , $ storeId) );
9595 }
9696
9797 /**
@@ -113,7 +113,7 @@ public function isAnalyticsEnabled(string $storeId = null): bool
113113 */
114114 public function getMeasurementId (string $ storeId = null ): string
115115 {
116- return ( string )$ this ->getConfig (self ::XML_PATH_ANALYTICS_MEASUREMENT_ID , $ storeId );
116+ return trim (( string )$ this ->getConfig (self ::XML_PATH_ANALYTICS_MEASUREMENT_ID , $ storeId) );
117117 }
118118
119119 /**
You can’t perform that action at this time.
0 commit comments