From f208650cb83e8711f5f35878cfa285b7cb505d3d Mon Sep 17 00:00:00 2001 From: Jonathan Hawk Date: Sun, 30 Oct 2016 11:52:17 -0400 Subject: [PATCH] Another dumb bug. I should write tests. --- src/AddressFormatter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/AddressFormatter.php b/src/AddressFormatter.php index 4896c2b..b74756c 100644 --- a/src/AddressFormatter.php +++ b/src/AddressFormatter.php @@ -31,7 +31,7 @@ class AddressFormatter * @var \Libreworks\Microformats\GeoFormatter */ private $geoFormatter; - + /** * Creates a new AddressFormatter. * @@ -69,6 +69,6 @@ public function format(Address $address) if ($geo !== null) { $tags[] = '' . $this->geoFormatter->format($geo) . ''; } - return '' . implode(' ', $fields) . ''; + return '' . implode(' ', $tags) . ''; } }