Skip to content

Commit 9214e50

Browse files
committed
Urgent Hotfix
1 parent c0686e0 commit 9214e50

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Concerns/HasOptions.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function url(string $url): static
3535
*
3636
* @see https://developers.cloudflare.com/images/image-resizing/url-format/#anim
3737
*/
38-
private function anim(bool $anim): static
38+
public function anim(bool $anim): static
3939
{
4040
$this->options['anim'] = $anim;
4141

@@ -49,7 +49,7 @@ private function anim(bool $anim): static
4949
*
5050
* @see https://developers.cloudflare.com/images/image-resizing/url-format/#background
5151
*/
52-
private function background(string $background): static
52+
public function background(string $background): static
5353
{
5454
$this->options['background'] = $background;
5555

@@ -63,7 +63,7 @@ private function background(string $background): static
6363
*
6464
* @see https://developers.cloudflare.com/images/image-resizing/url-format/#blur
6565
*/
66-
private function blur(int $blur): static
66+
public function blur(int $blur): static
6767
{
6868
$this->options['blur'] = $blur;
6969

@@ -75,7 +75,7 @@ private function blur(int $blur): static
7575
*
7676
* @param string $brightness The brightness value of 1.0 equals no change, a value of 0.5 equals half brightness, and a value of 2.0 equals twice as bright. 0 is ignored.
7777
*/
78-
private function brightness(string $brightness): static
78+
public function brightness(string $brightness): static
7979
{
8080
$this->options['brightness'] = $brightness;
8181

@@ -85,7 +85,7 @@ private function brightness(string $brightness): static
8585
/**
8686
* Set the image format.
8787
*/
88-
private function format(string $format): static
88+
public function format(string $format): static
8989
{
9090
$this->options['format'] = $format;
9191

0 commit comments

Comments
 (0)