src/Crossjoin/Css/Format/Rule/TraitComments.php
public function setComments($comments)
    {
        $this->comments = [];
        if (!is_array($comments)) {
            $comments = [$comments];
        }
        foreach ($comments as $comment) {
            $this->addComment($comment);
        }

        return $this;
    }
public function setComments($comments)
    {
        $this->comments = [];
        if (!is_array($comments)) {
            $comments = [$comments];
        }
        foreach ($comments as $comment) {
            $this->addComment($comment);
        }

        return $this;
    }
public function setComments ( $ comments ) { $ this -> comments = [ ] ; if ( ! is_array ( $ comments ) ) { $ comments = [ $ comments ] ; } foreach ( $ comments as $ comment ) { $ this -> addComment ( $ comment ) ; } return $ this ; }
Sets comments.

@param string[]|string $comments
@return $this
Sets comments .