mirror of
https://github.com/Intervention/image.git
synced 2025-08-21 13:11:18 +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
|
||||
{
|
||||
return $this->frame($this->count());
|
||||
return $this->frame($this->count() - 1);
|
||||
}
|
||||
|
||||
public function __clone(): void
|
||||
|
Reference in New Issue
Block a user