Skip to content

Commit

Permalink
Another dumb bug. I should write tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
doublecompile committed Oct 30, 2016
1 parent f2605ab commit f208650
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/AddressFormatter.php
Expand Up @@ -31,7 +31,7 @@ class AddressFormatter
* @var \Libreworks\Microformats\GeoFormatter
*/
private $geoFormatter;

/**
* Creates a new AddressFormatter.
*
Expand Down Expand Up @@ -69,6 +69,6 @@ public function format(Address $address)
if ($geo !== null) {
$tags[] = '<span class="p-geo">' . $this->geoFormatter->format($geo) . '</span>';
}
return '<span class="h-adr">' . implode(' ', $fields) . '</span>';
return '<span class="h-adr">' . implode(' ', $tags) . '</span>';
}
}

0 comments on commit f208650

Please sign in to comment.