original_string: protected function get_prepopulates($data){
          $json = [];
          foreach( $data as $post ){
              $json[]  = [
                  'id' => $post->ID,
                  'name' => $post->post_title,
              ];
          }
          return $json;
      }
code: protected function get_prepopulates($data){
          $json = [];
          foreach( $data as $post ){
              $json[]  = [
                  'id' => $post->ID,
                  'name' => $post->post_title,
              ];
          }
          return $json;
      }
code_tokens: protected function get_prepopulates ( $ data ) { $ json = [ ] ; foreach ( $ data as $ post ) { $ json [ ] = [ 'id' => $ post -> ID , 'name' => $ post -> post_title , ] ; } return $ json ; }
docstring: Get prepopulated data
  
  @param array $data
  @return array
docstring_tokens: Get prepopulated data