mirror of
https://github.com/Intervention/image.git
synced 2025-08-28 16:19:50 +02:00
Update src/Intervention/Image/Image.php
Added return object Image for chaining
This commit is contained in:
@@ -330,6 +330,7 @@ class Image
|
||||
throw new Exception('x, y, width and height needs to be defined');
|
||||
}
|
||||
$this->modify(0, 0, $src_x , $src_y, $src_w, $src_h, $src_w, $src_h);
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user