original_string: private function applyOrders(array $settings): array
      {
          $orders = [];
          // Obtain a list of columns
          foreach ($settings as $column => $order) {
              $column = Proxy\Db::quoteIdentifier($column);
              $orders[] = $column . ' ' . $order;
          }
          return $orders;
      }
code: private function applyOrders(array $settings): array
      {
          $orders = [];
          // Obtain a list of columns
          foreach ($settings as $column => $order) {
              $column = Proxy\Db::quoteIdentifier($column);
              $orders[] = $column . ' ' . $order;
          }
          return $orders;
      }
code_tokens: private function applyOrders ( array $ settings ) : array { $ orders = [ ] ; // Obtain a list of columns foreach ( $ settings as $ column => $ order ) { $ column = Proxy \ Db :: quoteIdentifier ( $ column ) ; $ orders [ ] = $ column . ' ' . $ order ; } return $ orders ; }
docstring: Apply order to SQL query
  
  @param  array $settings
  
  @return array
docstring_tokens: Apply order to SQL query