Skip to content

Commit

Permalink
[BUGFIX] Correct used less parser version
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminkott committed Dec 15, 2018
1 parent ec221a3 commit a9a1bee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Contrib/less.php/Less.php
Original file line number Diff line number Diff line change
Expand Up @@ -9332,7 +9332,7 @@ public function visitRuleset( $rulesetNode, &$visitDeeper ){


// Compile rules and rulesets
$nodeRuleCnt = count($rulesetNode->rules);
$nodeRuleCnt = (is_array($rulesetNode->rules) || $rulesetNode->rules instanceof Countable) ? count($rulesetNode->rules) : 0;
for( $i = 0; $i < $nodeRuleCnt; ){
$rule = $rulesetNode->rules[$i];

Expand Down

0 comments on commit a9a1bee

Please sign in to comment.