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; } /**