Skip to content

Commit 9bcd51c

Browse files
committed
fix Gravity obj returns null
1 parent 2718465 commit 9bcd51c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Core/Image/Transformation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public function build()
9797
'fetch_format' => (string)$this->fetchFormat,
9898
'quality' => (string)$this->quality ?: null,
9999
'crop' => (string)$this->crop,
100-
'gravity' => (string)$this->gravity ?: null,
100+
'gravity' => (string)$this->gravity ?: '',
101101
'width' => $this->dimensions ? $this->dimensions->getWidth() : null,
102102
'height' => $this->dimensions ? $this->dimensions->getHeight() : null,
103103
'dpr' => (string)$this->dpr,

0 commit comments

Comments
 (0)