Skip to content

Commit

Permalink
Refactored some internal method and argument names.
Browse files Browse the repository at this point in the history
Added issue badge to readme.
  • Loading branch information
Martin Brecht-Precht committed Apr 6, 2016
1 parent 0034d33 commit 5443b48
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Iso3166Country.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ class Iso3166Country
private $name;

/**
* @param string $iso3166Alpha2CountryCode
* @param string $iso3166Alpha2Code
* @return $this
* @throws Exception\Iso3166CountryException
*/
public function loadByIso3166Alpha2CountryCode($iso3166Alpha2CountryCode)
public function loadByIso3166Alpha2Code($iso3166Alpha2Code)
{
$countryInformation = Iso3166CountryInformation::getByIso3166Alpha2($iso3166Alpha2CountryCode);
$countryInformation = Iso3166CountryInformation::getByIso3166Alpha2($iso3166Alpha2Code);
if (is_null($countryInformation)) {
throw new Exception\Iso3166CountryException('ISO_3166_COUNTRY_NOT_FOUND');
}
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

[![Build Status](https://travis-ci.org/markenwerk/php-iso3166-country-information.svg?branch=master)](https://travis-ci.org/markenwerk/php-iso3166-country-information)
[![Code Climate](https://codeclimate.com/github/markenwerk/php-iso3166-country-information/badges/gpa.svg)](https://codeclimate.com/github/markenwerk/php-iso3166-country-information)
[![Issue Count](https://codeclimate.com/github/markenwerk/php-iso3166-country-information/badges/issue_count.svg)](https://codeclimate.com/github/markenwerk/php-iso3166-country-information)
[![Latest Stable Version](https://poser.pugx.org/markenwerk/iso3166-country-information/v/stable)](https://packagist.org/packages/markenwerk/iso3166-country-information)
[![Total Downloads](https://poser.pugx.org/markenwerk/iso3166-country-information/downloads)](https://packagist.org/packages/markenwerk/iso3166-country-information)
[![License](https://poser.pugx.org/markenwerk/iso3166-country-information/license)](https://packagist.org/packages/markenwerk/iso3166-country-information)
Expand Down

0 comments on commit 5443b48

Please sign in to comment.