original_string: public function convertRenditions(array $data = null)
      {
          return array_filter(
              array_map(
                  [$this, 'convertRendition'],
                  array_filter(
                      $data,
                      'is_array'
                  )
              ),
              function ($item) {
                  // @TODO once a logger is available we should log an INFO message if the rendition could not be converted
                  return !empty($item);
              }
          );
      }
code: public function convertRenditions(array $data = null)
      {
          return array_filter(
              array_map(
                  [$this, 'convertRendition'],
                  array_filter(
                      $data,
                      'is_array'
                  )
              ),
              function ($item) {
                  // @TODO once a logger is available we should log an INFO message if the rendition could not be converted
                  return !empty($item);
              }
          );
      }
code_tokens: public function convertRenditions ( array $ data = null ) { return array_filter ( array_map ( [ $ this , 'convertRendition' ] , array_filter ( $ data , 'is_array' ) ) , function ( $ item ) { // @TODO once a logger is available we should log an INFO message if the rendition could not be converted return ! empty ( $ item ) ; } ) ; }
docstring: Convert given input data to a list of RenditionData objects
  
  @param array|null $data
  @return RenditionData[]
docstring_tokens: Convert given input data to a list of RenditionData objects