original_string: protected function setCombinationFileId(array &$combination, array $data)
      {
          foreach ($data['images'] as $image) {
              if ($image['path'] === $combination['path']) {
                  $combination['file_id'] = $image['file_id'];
              }
          }
  
          return $combination;
      }
code: protected function setCombinationFileId(array &$combination, array $data)
      {
          foreach ($data['images'] as $image) {
              if ($image['path'] === $combination['path']) {
                  $combination['file_id'] = $image['file_id'];
              }
          }
  
          return $combination;
      }
code_tokens: protected function setCombinationFileId ( array & $ combination , array $ data ) { foreach ( $ data [ 'images' ] as $ image ) { if ( $ image [ 'path' ] === $ combination [ 'path' ] ) { $ combination [ 'file_id' ] = $ image [ 'file_id' ] ; } } return $ combination ; }
docstring: Adds a file ID from uploaded images to the combination item
  @param array $combination
  @param array $data
  @return array
docstring_tokens: Adds a file ID from uploaded images to the combination item