<?php

/**
 * SCSSPHP
 *
 * @copyright 2012-2020 Leaf Corcoran
 *
 * @license http://opensource.org/licenses/MIT MIT
 *
 * @link http://scssphp.github.io/scssphp
 */

namespace Tangible\ScssPhp\Ast\Sass\Statement;

/**
 * An `@else` clause in an `@if` rule.
 *
 * @internal
 */
final class ElseClause extends IfRuleClause
{
    public function __toString(): string
    {
        return '@else {' . implode(' ', $this->getChildren()) . '}';
    }
}
