mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-03-22 01:55:56 -05:00
23 lines
469 B
PHP
23 lines
469 B
PHP
<?php
|
|
/**
|
|
* @file
|
|
* @license https://opensource.org/licenses/Apache-2.0 Apache-2.0
|
|
*/
|
|
|
|
namespace Wikimedia\CSS\Objects;
|
|
|
|
/**
|
|
* Represent a list of CSS rules
|
|
*/
|
|
class RuleList extends CSSObjectList {
|
|
/**
|
|
* @var string
|
|
*/
|
|
protected static $objectType = Rule::class;
|
|
|
|
/** @inheritDoc */
|
|
protected function getSeparator( CSSObject $left, CSSObject $right = null ) {
|
|
return $right ? [ new Token( Token::T_WHITESPACE, [ 'significant' => false ] ) ] : [];
|
|
}
|
|
}
|