Permalink
Browse files

php-cs-fixer fixes

  • Loading branch information...
1 parent 7edc321 commit 495a359715181101d17e9572339a7dc413a45d6b @alcohol alcohol committed Nov 7, 2016
Showing with 21 additions and 21 deletions.
  1. +6 −6 src/Guards.php
  2. +5 −5 src/ISO3166.php
  3. +9 −9 src/ISO3166DataProvider.php
  4. +1 −1 src/ISO3166DataValidator.php
View
@@ -19,8 +19,8 @@
*
* @param string $alpha2
*
- * @throws \League\ISO3166\Exception\InvalidArgumentException if input is not a string.
- * @throws \League\ISO3166\Exception\DomainException if input does not look like an alpha2 key.
+ * @throws \League\ISO3166\Exception\InvalidArgumentException if input is not a string
+ * @throws \League\ISO3166\Exception\DomainException if input does not look like an alpha2 key
*/
public static function guardAgainstInvalidAlpha2($alpha2)
{
@@ -42,8 +42,8 @@ public static function guardAgainstInvalidAlpha2($alpha2)
*
* @param string $alpha3
*
- * @throws \League\ISO3166\Exception\InvalidArgumentException if input is not a string.
- * @throws \League\ISO3166\Exception\DomainException if input does not look like an alpha3 key.
+ * @throws \League\ISO3166\Exception\InvalidArgumentException if input is not a string
+ * @throws \League\ISO3166\Exception\DomainException if input does not look like an alpha3 key
*/
public static function guardAgainstInvalidAlpha3($alpha3)
{
@@ -65,8 +65,8 @@ public static function guardAgainstInvalidAlpha3($alpha3)
*
* @param string $numeric
*
- * @throws \League\ISO3166\Exception\InvalidArgumentException if input is not a string.
- * @throws \League\ISO3166\Exception\DomainException if input does not look like a numeric key.
+ * @throws \League\ISO3166\Exception\InvalidArgumentException if input is not a string
+ * @throws \League\ISO3166\Exception\DomainException if input does not look like a numeric key
*/
public static function guardAgainstInvalidNumeric($numeric)
{
View
@@ -27,7 +27,7 @@
private $keys = [self::KEY_ALPHA2, self::KEY_ALPHA3, self::KEY_NUMERIC];
/**
- * @param array $countries Replace default dataset with given array.
+ * @param array $countries replace default dataset with given array
*/
public function __construct(array $countries = [])
{
@@ -77,7 +77,7 @@ public function all()
/**
* @param string $key
*
- * @throws \League\ISO3166\Exception\DomainException if an invalid key is specified.
+ * @throws \League\ISO3166\Exception\DomainException if an invalid key is specified
*
* @return \Generator
*/
@@ -97,7 +97,7 @@ public function iterator($key = self::KEY_ALPHA2)
}
/**
- * @see \Countable.
+ * @see \Countable
*
* @internal
*
@@ -109,7 +109,7 @@ public function count()
}
/**
- * @see \IteratorAggregate.
+ * @see \IteratorAggregate
*
* @internal
*
@@ -130,7 +130,7 @@ public function getIterator()
* @param string $key
* @param string $value
*
- * @throws \League\ISO3166\Exception\OutOfBoundsException if key does not exist in dataset.
+ * @throws \League\ISO3166\Exception\OutOfBoundsException if key does not exist in dataset
*
* @return array
*/
@@ -18,9 +18,9 @@
*
* @param string $alpha2
*
- * @throws \League\ISO3166\Exception\InvalidArgumentException if input is not a string.
- * @throws \League\ISO3166\Exception\DomainException if input does not look like an alpha2 key.
- * @throws \League\ISO3166\Exception\OutOfBoundsException if input does not exist in dataset.
+ * @throws \League\ISO3166\Exception\InvalidArgumentException if input is not a string
+ * @throws \League\ISO3166\Exception\DomainException if input does not look like an alpha2 key
+ * @throws \League\ISO3166\Exception\OutOfBoundsException if input does not exist in dataset
*
* @return array
*/
@@ -33,9 +33,9 @@ public function alpha2($alpha2);
*
* @param string $alpha3
*
- * @throws \League\ISO3166\Exception\InvalidArgumentException if input is not a string.
- * @throws \League\ISO3166\Exception\DomainException if input does not look like an alpha3 key.
- * @throws \League\ISO3166\Exception\OutOfBoundsException if input does not exist in dataset.
+ * @throws \League\ISO3166\Exception\InvalidArgumentException if input is not a string
+ * @throws \League\ISO3166\Exception\DomainException if input does not look like an alpha3 key
+ * @throws \League\ISO3166\Exception\OutOfBoundsException if input does not exist in dataset
*
* @return array
*/
@@ -48,9 +48,9 @@ public function alpha3($alpha3);
*
* @param string $numeric
*
- * @throws \League\ISO3166\Exception\InvalidArgumentException if input is not a string.
- * @throws \League\ISO3166\Exception\DomainException if input does not look like a numeric key.
- * @throws \League\ISO3166\Exception\OutOfBoundsException if input does not exist in dataset.
+ * @throws \League\ISO3166\Exception\InvalidArgumentException if input is not a string
+ * @throws \League\ISO3166\Exception\DomainException if input does not look like a numeric key
+ * @throws \League\ISO3166\Exception\OutOfBoundsException if input does not exist in dataset
*
* @return array
*/
@@ -30,7 +30,7 @@ public function validate(array $data)
/**
* @param array $entry
*
- * @throws \League\ISO3166\Exception\DomainException if given data entry does not have all the required keys.
+ * @throws \League\ISO3166\Exception\DomainException if given data entry does not have all the required keys
*/
private function assertEntryHasRequiredKeys(array $entry)
{

0 comments on commit 495a359

Please sign in to comment.