Imagick's clonse() depreciated as of 3.1.0b1; use clone PHP keyword and bump minimum PHP version to 5.2.5
This commit is contained in:
@@ -163,7 +163,7 @@
|
||||
return $this->image->destroy();
|
||||
}
|
||||
public function resize() {
|
||||
$this->image = $this->original->clone();
|
||||
$this->image = clone $this->original;
|
||||
|
||||
$this->image->scaleImage($this->width, $this->height, false);
|
||||
}
|
||||
|
Reference in New Issue
Block a user