File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
tests/Geocoder/Tests/Formatter Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -344,11 +344,11 @@ Here is the mapping:
344344
345345* Street Name: ` %S `
346346
347- * City: ` %T `
347+ * City: ` %L `
348348
349349* Zipcode: ` %z `
350350
351- * County: ` %K `
351+ * County: ` %P `
352352
353353* Region: ` %R `
354354
Original file line number Diff line number Diff line change @@ -19,11 +19,11 @@ interface FormatterInterface
1919
2020 const STREET_NAME = '%S ' ;
2121
22- const CITY = '%T ' ;
22+ const CITY = '%L ' ;
2323
2424 const ZIPCODE = '%z ' ;
2525
26- const COUNTY = '%K ' ;
26+ const COUNTY = '%P ' ;
2727
2828 const REGION = '%R ' ;
2929
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ static public function dataProviderForTestFormat()
4141 ),
4242 array (
4343 array ('city ' => 'Zuerich ' ),
44- '%T ' ,
44+ '%L ' ,
4545 'Zuerich '
4646 ),
4747 array (
@@ -51,7 +51,7 @@ static public function dataProviderForTestFormat()
5151 ),
5252 array (
5353 array ('county ' => 'Collin County ' ),
54- '%K ' ,
54+ '%P ' ,
5555 'Collin County '
5656 ),
5757 array (
@@ -81,7 +81,7 @@ static public function dataProviderForTestFormat()
8181 'zipcode ' => 8001 ,
8282 'city ' => 'Zuerich ' ,
8383 ),
84- '%S %n, %z %T ' ,
84+ '%S %n, %z %L ' ,
8585 'Badenerstrasse 120, 8001 Zuerich '
8686 ),
8787 array (
@@ -91,7 +91,7 @@ static public function dataProviderForTestFormat()
9191 'zipcode ' => 8001 ,
9292 'city ' => 'Zuerich ' ,
9393 ),
94- '<p>%S %n, %z <a href="#%T ">%T </a></p> ' ,
94+ '<p>%S %n, %z <a href="#%L ">%L </a></p> ' ,
9595 '<p>Badenerstrasse 120, 8001 <a href="#Zuerich">Zuerich</a></p> '
9696 ),
9797 array (
@@ -101,7 +101,7 @@ static public function dataProviderForTestFormat()
101101 'zipcode ' => 8001 ,
102102 'city ' => 'Zuerich ' ,
103103 ),
104- '<p>%S %n, %z <a href="#%T ">%T </a></p><p>%K </p> ' ,
104+ '<p>%S %n, %z <a href="#%L ">%L </a></p><p>%P </p> ' ,
105105 '<p>Badenerstrasse 120, 8001 <a href="#Zuerich">Zuerich</a></p><p></p> '
106106 ),
107107 );
You can’t perform that action at this time.
0 commit comments