From 0341961b52922ce89d754cf91a11e50389998762 Mon Sep 17 00:00:00 2001 From: "David D." Date: Wed, 27 Feb 2013 14:43:18 -0700 Subject: [PATCH] Update src/Intervention/Image/Image.php Added return object Image for chaining --- src/Intervention/Image/Image.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Intervention/Image/Image.php b/src/Intervention/Image/Image.php index fa08a1b4..3b141a06 100644 --- a/src/Intervention/Image/Image.php +++ b/src/Intervention/Image/Image.php @@ -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; } /**