Skip to content

Commit

Permalink
chore(release): v4.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
luqven committed Jan 31, 2023
1 parent 6dbf0d3 commit b42231e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
5 changes: 2 additions & 3 deletions src/UrlBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

class UrlBuilder
{
private $currentVersion = "4.0.0";
private $currentVersion = "4.1.0";
private $domain;

private $useHttps;
Expand Down Expand Up @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion tests/UrlBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b42231e

Please sign in to comment.