From 907d5bb9140c8045df12f19c726f6692b653eec3 Mon Sep 17 00:00:00 2001 From: Patryk Date: Wed, 4 Jul 2018 13:16:38 +0200 Subject: [PATCH] Fix return type --- src/Entity/ShippingGateway.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Entity/ShippingGateway.php b/src/Entity/ShippingGateway.php index 1b3b195..b2815b2 100644 --- a/src/Entity/ShippingGateway.php +++ b/src/Entity/ShippingGateway.php @@ -121,7 +121,7 @@ public function getConfigValue(string $key): ?string $key )); - return $this->config[$key]; + return (string) $this->config[$key]; } /**