Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/CSSList/AtRuleBlockList.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Sabberworm\CSS\Property\AtRule;

/**
* A BlockList constructed by an unknown at-rule. @media rules are rendered into AtRuleBlockList objects.
* A `BlockList` constructed by an unknown at-rule. `@media` rules are rendered into `AtRuleBlockList` objects.
*/
class AtRuleBlockList extends CSSBlockList implements AtRule
{
Expand Down Expand Up @@ -48,6 +48,9 @@ public function atRuleArgs()
return $this->sArgs;
}

/**
* @return string
*/
public function __toString()
{
return $this->render(new OutputFormat());
Expand All @@ -70,6 +73,9 @@ public function render(OutputFormat $oOutputFormat)
return $sResult;
}

/**
* @return bool
*/
public function isRootList()
{
return false;
Expand Down