original_string: public function saveRawProperties( $id, $properties )
      {
          $result = 0;
  
          if ( ! empty( $properties ) )
          {
              foreach ( $properties as $property )
              {
                  $result += $this->saveProperty(
                      $id,
                      empty( $property['locale'] ) ? null : $property['locale'],
                      empty( $property['name']   ) ? null : $property['name'],
                      empty( $property['value']  ) ? null : $property['value']
                  );
              }
          }
  
          return $result;
      }
code: public function saveRawProperties( $id, $properties )
      {
          $result = 0;
  
          if ( ! empty( $properties ) )
          {
              foreach ( $properties as $property )
              {
                  $result += $this->saveProperty(
                      $id,
                      empty( $property['locale'] ) ? null : $property['locale'],
                      empty( $property['name']   ) ? null : $property['name'],
                      empty( $property['value']  ) ? null : $property['value']
                  );
              }
          }
  
          return $result;
      }
code_tokens: public function saveRawProperties ( $ id , $ properties ) { $ result = 0 ; if ( ! empty ( $ properties ) ) { foreach ( $ properties as $ property ) { $ result += $ this -> saveProperty ( $ id , empty ( $ property [ 'locale' ] ) ? null : $ property [ 'locale' ] , empty ( $ property [ 'name' ] ) ? null : $ property [ 'name' ] , empty ( $ property [ 'value' ] ) ? null : $ property [ 'value' ] ) ; } } return $ result ; }
docstring: Save raw paragraph properties
  
  @param   int                 $id
  @param   array|\Traversable  $properties
  @return  int
docstring_tokens: Save raw paragraph properties