original_string: public function getMetadataQuery($data, $metadata)
      {
          foreach ($metadata as $searchMetadata) {
              $data[] = $this->setData(['metadata' => $searchMetadata], 'input');
          }
  
          return $data;
      }
code: public function getMetadataQuery($data, $metadata)
      {
          foreach ($metadata as $searchMetadata) {
              $data[] = $this->setData(['metadata' => $searchMetadata], 'input');
          }
  
          return $data;
      }
code_tokens: public function getMetadataQuery ( $ data , $ metadata ) { foreach ( $ metadata as $ searchMetadata ) { $ data [ ] = $ this -> setData ( [ 'metadata' => $ searchMetadata ] , 'input' ) ; } return $ data ; }
docstring: Generates Metadata search query and adds it to existing data
  
  @param $data
  @param array $metadata
  
  @return array $data
docstring_tokens: Generates Metadata search query and adds it to existing data