original_string: private function generateAttachmentFields(array $data): array
      {
          $fields = array();
          foreach ($this->normalizerFormatter->format($data) as $key => $value) {
              $fields[] = $this->generateAttachmentField($key, $value);
          }
  
          return $fields;
      }
code: private function generateAttachmentFields(array $data): array
      {
          $fields = array();
          foreach ($this->normalizerFormatter->format($data) as $key => $value) {
              $fields[] = $this->generateAttachmentField($key, $value);
          }
  
          return $fields;
      }
code_tokens: private function generateAttachmentFields ( array $ data ) : array { $ fields = array ( ) ; foreach ( $ this -> normalizerFormatter -> format ( $ data ) as $ key => $ value ) { $ fields [ ] = $ this -> generateAttachmentField ( $ key , $ value ) ; } return $ fields ; }
docstring: Generates a collection of attachment fields from array
docstring_tokens: Generates a collection of attachment fields from array