Skip to content

Commit

Permalink
Remove unnecessary method (there is a magic method already)
Browse files Browse the repository at this point in the history
  • Loading branch information
dusterio authored Mar 31, 2020
1 parent 0997c61 commit 0e776a0
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions src/State.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class State extends Divisible
'fipsCode' => 'ids.fips',
'isoCode' => 'ids.iso_3166_2',
'geonamesCode' => 'ids.geonames',
'zipRanges' => 'zip_ranges',
'postCodes' => 'postcodes',
'name'
];

Expand All @@ -42,18 +42,4 @@ public function getCities()
{
return $this->getMembers();
}

/**
* @return array
*/
public function getZipRanges()
{
$ranges = $this->meta['zip_ranges'];

if ($zip_ranges === null) {
return [];
}

return $ranges;
}
}

0 comments on commit 0e776a0

Please sign in to comment.