Parsed: 131801

  public function add_declarations( $declarations ) {
    $is_declarations_object = ! is_array( $declarations );
    $declarations_array     = $is_declarations_object ? $declarations->get_declarations() : $declarations;

    if ( null === $this->declarations ) {
      if ( $is_declarations_object ) {
        $this->declarations = $declarations;
        return $this;
      }
      $this->declarations = new WP_Style_Engine_CSS_Declarations( $declarations_array );
    }
    $this->declarations->add_declarations( $declarations_array );

    return $this;
  }