Merge branch 'MDL-81073' of https://github.com/paulholden/moodle
[moodle.git] / lib / scssphp / Block / IfBlock.php
blob9f21bf88ac9ab223f124bfaf66aa404d39ccb665
1 <?php
3 /**
4 * SCSSPHP
6 * @copyright 2012-2020 Leaf Corcoran
8 * @license http://opensource.org/licenses/MIT MIT
10 * @link http://scssphp.github.io/scssphp
13 namespace ScssPhp\ScssPhp\Block;
15 use ScssPhp\ScssPhp\Block;
16 use ScssPhp\ScssPhp\Type;
18 /**
19 * @internal
21 class IfBlock extends Block
23 /**
24 * @var array
26 public $cond;
28 /**
29 * @var array<ElseifBlock|ElseBlock>
31 public $cases = [];
33 public function __construct()
35 $this->type = Type::T_IF;