Skip to content

Commit df0d717

Browse files
authored
Merge pull request rapidwebltd#4 from LNCH/master
Add parish to line 2 of the PostcodesIO parseResponse
2 parents 4951aa1 + 02882e2 commit df0d717

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Objects/PostcodesIo.php

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ private function parseResponse(Response $response)
5959
$addresses = [];
6060

6161
$address = new Address();
62+
$address->line2 = $postcodesIoAddress->parish;
6263
$address->townCity = $postcodesIoAddress->admin_district;
6364
$address->county = $postcodesIoAddress->admin_county;
6465
$address->postcode = $postcodesIoAddress->postcode;

0 commit comments

Comments
 (0)