Parsed: 131777

  public function add_declaration( $property, $value ) {
    // Sanitizes the property.
    $property = $this->sanitize_property( $property );
    // Bails early if the property is empty.
    if ( empty( $property ) ) {
      return $this;
    }

    // Trims the value. If empty, bail early.
    $value = trim( $value );
    if ( '' === $value ) {
      return $this;
    }

    // Adds the declaration property/value pair.
    $this->declarations[ $property ] = $value;

    return $this;
  }