mirror of
https://github.com/Intervention/image.git
synced 2025-08-21 21:15:11 +02:00
Fix bug in iamgick driver Core::last()
This commit is contained in:
@@ -216,7 +216,7 @@ class Core implements CoreInterface, Iterator
|
|||||||
|
|
||||||
public function last(): FrameInterface
|
public function last(): FrameInterface
|
||||||
{
|
{
|
||||||
return $this->frame($this->count());
|
return $this->frame($this->count() - 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function __clone(): void
|
public function __clone(): void
|
||||||
|
Reference in New Issue
Block a user