diff --git a/composer.json b/composer.json index 3963cc3..1d24949 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "imgix/imgix-php", "description": "A PHP client library for generating URLs with imgix.", "type": "library", - "version": "4.0.0", + "version": "4.1.0", "license": "BSD-2-Clause", "keywords": [ "imgix" diff --git a/src/UrlBuilder.php b/src/UrlBuilder.php index 0f7ca5d..39feed1 100644 --- a/src/UrlBuilder.php +++ b/src/UrlBuilder.php @@ -4,7 +4,7 @@ class UrlBuilder { - private $currentVersion = "4.0.0"; + private $currentVersion = "4.1.0"; private $domain; private $useHttps; @@ -136,8 +136,7 @@ public function targetWidths( $start=self::MIN_WIDTH, $stop=self::MAX_WIDTH, $tol=self::SRCSET_WIDTH_TOLERANCE - ) - { + ) { if ($start === $stop) { return array((int) $start); } diff --git a/tests/UrlBuilderTest.php b/tests/UrlBuilderTest.php index b9506e5..f842ef6 100644 --- a/tests/UrlBuilderTest.php +++ b/tests/UrlBuilderTest.php @@ -8,7 +8,7 @@ class UrlBuilderTest extends TestCase { - public const PACKAGE_VERSION = '4.0.0'; + public const PACKAGE_VERSION = '4.1.0'; public const TARGET_WIDTHS = [ 100, 116, 135, 156, 181, 210, 244, 283, 328, 380, 441, 512, 594, 689, 799, 927,