original_string: protected function matchDataToColumns($data, $columns)
      {
          $results = [];
  
          foreach ($columns as $column => $label) {
              $results[] = array_get($data, $column);
          }
  
          return $results;
      }
code: protected function matchDataToColumns($data, $columns)
      {
          $results = [];
  
          foreach ($columns as $column => $label) {
              $results[] = array_get($data, $column);
          }
  
          return $results;
      }
code_tokens: protected function matchDataToColumns ( $ data , $ columns ) { $ results = [ ] ; foreach ( $ columns as $ column => $ label ) { $ results [ ] = array_get ( $ data , $ column ) ; } return $ results ; }
docstring: Ensures the correct order of the column data.
docstring_tokens: Ensures the correct order of the column data .