diff --git a/.codeclimate.yml b/.codeclimate.yml index 6485369..80396e2 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -9,7 +9,7 @@ checks: file-lines: config: #threshold: 250 - threshold: 275 + threshold: 300 method-complexity: config: #threshold: 5 diff --git a/src/CurrencyDatabase.php b/src/CurrencyDatabase.php index 5a0c929..465be13 100644 --- a/src/CurrencyDatabase.php +++ b/src/CurrencyDatabase.php @@ -38,7 +38,7 @@ public function __construct() } /** - * @param int|null $limit + * @param int $limit * @return array * @throws Exception */ @@ -125,4 +125,4 @@ public function insertExchangeRate(array $bind) $bind ); } -} \ No newline at end of file +} diff --git a/src/CurrencyExchangeRates.php b/src/CurrencyExchangeRates.php index bd5d145..880ccd0 100644 --- a/src/CurrencyExchangeRates.php +++ b/src/CurrencyExchangeRates.php @@ -17,7 +17,7 @@ class CurrencyExchangeRates use CustomizationTrait; /** @var string Version*/ - const VERSION = '1.1.1-pre'; + const VERSION = '1.1.1'; /** @var string Feeds Namespace */ const FEEDS_NAMESPACE = "\\Attogram\\Currency\\Feeds\\"; diff --git a/src/Feeds/Feed.php b/src/Feeds/Feed.php index 61534c7..ccfc558 100644 --- a/src/Feeds/Feed.php +++ b/src/Feeds/Feed.php @@ -4,7 +4,6 @@ namespace Attogram\Currency\Feeds; use Attogram\Currency\CurrencyDatabase; -use Attogram\Database\Database; use Exception; use GuzzleHttp\Client as GuzzleClient; use GuzzleHttp\Exception\GuzzleException;