Skip to content

Commit 393711b

Browse files
committed
Remove unneeded reference to root namespace
1 parent 09fdf51 commit 393711b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scss.inc.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ protected function compileChild($child, $out) {
573573
case "mixin_content":
574574
$content = $this->get(self::$namespaces["special"] . "content");
575575
if (is_null($content)) {
576-
throw new \Exception("Unexpected @content inside of mixin");
576+
throw new Exception("Unexpected @content inside of mixin");
577577
}
578578

579579
$this->storeEnv = $content->scope;
@@ -662,7 +662,7 @@ protected function reduce($value, $inExp = false) {
662662
$left[0] == "number" && $right[0] == "number")
663663
{
664664
if ($opName == "mod" && $right[2] != "") {
665-
throw new \Exception(sprintf('Cannot modulo by a number with units: %s%s.', $right[1], $right[2]));
665+
throw new Exception(sprintf('Cannot modulo by a number with units: %s%s.', $right[1], $right[2]));
666666
}
667667

668668
$unitChange = true;
@@ -1949,7 +1949,7 @@ protected function getNormalizedNumbers($args) {
19491949
if (null === $unit) {
19501950
$unit = $number[2];
19511951
} elseif ($unit !== $number[2]) {
1952-
throw new \Exception(sprintf('Incompatible units: "%s" and "%s".', $originalUnit, $item[2]));
1952+
throw new Exception(sprintf('Incompatible units: "%s" and "%s".', $originalUnit, $item[2]));
19531953
}
19541954

19551955
$originalUnit = $item[2];

0 commit comments

Comments
 (0)