From 3dda1e1f35f39f57a5dd61d87bd5631996e6d2d4 Mon Sep 17 00:00:00 2001 From: JeremyArobases Date: Tue, 7 Feb 2023 10:27:07 +0100 Subject: [PATCH] modification of the maximum number of characters in the address before the split to address2 --- src/Provider/AddressProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Provider/AddressProvider.php b/src/Provider/AddressProvider.php index ec16f16..5c37c2d 100644 --- a/src/Provider/AddressProvider.php +++ b/src/Provider/AddressProvider.php @@ -38,7 +38,7 @@ public function getAddress(AddressInterface $address): array } /** @return string[] */ - private function splitWords(string $text, int $width = 50): array + private function splitWords(string $text, int $width = 48): array { $words = explode(' ', $text); $text = '';