Skip to content

Commit 5120fcd

Browse files
committed
don't use and
1 parent 5736311 commit 5120fcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lessc.inc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1677,7 +1677,7 @@ function get($name) {
16771677

16781678
$is_arguments = $name == $this->vPrefix . 'arguments';
16791679
while ($current) {
1680-
if ($is_arguments and isset($current->arguments)) {
1680+
if ($is_arguments && isset($current->arguments)) {
16811681
return array('list', ' ', $current->arguments);
16821682
}
16831683

@@ -1697,7 +1697,7 @@ function literal($what, $eatWhitespace = true) {
16971697
if ($this->count >= strlen($this->buffer)) return false;
16981698

16991699
// shortcut on single letter
1700-
if (!$eatWhitespace and strlen($what) == 1) {
1700+
if (!$eatWhitespace && strlen($what) == 1) {
17011701
if ($this->buffer{$this->count} == $what) {
17021702
$this->count++;
17031703
return true;

0 commit comments

Comments
 (0)