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