We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0495fd3 commit 74f999eCopy full SHA for 74f999e
src/ImageVariant.php
@@ -237,7 +237,7 @@ public function cover(
237
bool $preventUpscale = false,
238
string $position = 'center'
239
): self {
240
- $this->operations['fit'] = [
+ $this->operations['cover'] = [
241
'width' => $width,
242
'height' => $height,
243
'callback' => $callback,
src/Operations.php
@@ -278,6 +278,6 @@ public function callback(array $arguments): void
278
);
279
}
280
281
- $arguments['callable']($this->image, $arguments);
+ $arguments['callback']($this->image, $arguments);
282
283
0 commit comments