From fc4eb0dc7419d441e9480ed2390b923f9ae301f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Kr=C3=A4mer?= Date: Fri, 6 Mar 2015 19:11:26 +0100 Subject: [PATCH] Returning $this in the methods added to Minify.php for chaining. --- src/Task/Assets/Minify.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Task/Assets/Minify.php b/src/Task/Assets/Minify.php index 4baec4766..399ff14e2 100644 --- a/src/Task/Assets/Minify.php +++ b/src/Task/Assets/Minify.php @@ -176,6 +176,7 @@ protected function getMinifiedText() public function singleLine($singleLine) { $this->squeezeOptions['singleLine'] = (bool)$singleLine; + return $this; } /** @@ -186,6 +187,7 @@ public function singleLine($singleLine) public function keepImportantComments($keepImportantComments) { $this->squeezeOptions['keepImportantComments'] = (bool)$keepImportantComments; + return $this; } /** @@ -196,6 +198,7 @@ public function keepImportantComments($keepImportantComments) public function specialVarRx($specialVarRx) { $this->squeezeOptions['specialVarRx'] = (bool)$specialVarRx; + return $this; } /**