Fix scrutinizer
This commit is contained in:
parent
7e10ce4354
commit
cc5dad977c
@ -1033,6 +1033,7 @@ class Lessc {
|
|||||||
return $this->lib_e($items[0]);
|
return $this->lib_e($items[0]);
|
||||||
}
|
}
|
||||||
$this->throwError("unrecognised input");
|
$this->throwError("unrecognised input");
|
||||||
|
return null;
|
||||||
case "string":
|
case "string":
|
||||||
$arg[1] = "";
|
$arg[1] = "";
|
||||||
return $arg;
|
return $arg;
|
||||||
@ -1050,6 +1051,7 @@ class Lessc {
|
|||||||
$template = $this->compileValue($this->lib_e($string));
|
$template = $this->compileValue($this->lib_e($string));
|
||||||
|
|
||||||
$i = 0;
|
$i = 0;
|
||||||
|
$m = array();
|
||||||
if (preg_match_all('/%[dsa]/', $template, $m)) {
|
if (preg_match_all('/%[dsa]/', $template, $m)) {
|
||||||
foreach ($m[0] as $match) {
|
foreach ($m[0] as $match) {
|
||||||
$val = isset($values[$i]) ?
|
$val = isset($values[$i]) ?
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user