Skip to content

Commit b42231e

Browse files
committed
chore(release): v4.1.0
1 parent 6dbf0d3 commit b42231e

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "imgix/imgix-php",
33
"description": "A PHP client library for generating URLs with imgix.",
44
"type": "library",
5-
"version": "4.0.0",
5+
"version": "4.1.0",
66
"license": "BSD-2-Clause",
77
"keywords": [
88
"imgix"

src/UrlBuilder.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
class UrlBuilder
66
{
7-
private $currentVersion = "4.0.0";
7+
private $currentVersion = "4.1.0";
88
private $domain;
99

1010
private $useHttps;
@@ -136,8 +136,7 @@ public function targetWidths(
136136
$start=self::MIN_WIDTH,
137137
$stop=self::MAX_WIDTH,
138138
$tol=self::SRCSET_WIDTH_TOLERANCE
139-
)
140-
{
139+
) {
141140
if ($start === $stop) {
142141
return array((int) $start);
143142
}

tests/UrlBuilderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
class UrlBuilderTest extends TestCase
1010
{
11-
public const PACKAGE_VERSION = '4.0.0';
11+
public const PACKAGE_VERSION = '4.1.0';
1212
public const TARGET_WIDTHS = [
1313
100, 116, 135, 156, 181, 210, 244, 283,
1414
328, 380, 441, 512, 594, 689, 799, 927,

0 commit comments

Comments
 (0)