From 06eb406d81e00077f03474b4692c051079b44c74 Mon Sep 17 00:00:00 2001 From: Atiksoftware Corporation Date: Thu, 1 Oct 2020 08:27:45 +0300 Subject: [PATCH] Add return $this to setFormatter method For use like $less->setFormatter("compressed")->compileFile( DIR_STYLE."/index.less" ); --- lessc.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lessc.inc.php b/lessc.inc.php index 37988952..79f3fcbb 100644 --- a/lessc.inc.php +++ b/lessc.inc.php @@ -2147,6 +2147,7 @@ protected function makeParser($name) { public function setFormatter($name) { $this->formatterName = $name; + return $this; } protected function newFormatter() {