original_string: protected function getLookupParams($id, $value, array $params)
      {
          // Make the id default
          if (!$value) {
              $value = $id;
              $id = 'id';
          }
  
          return array_merge(array($id => $value), $params);
      }
code: protected function getLookupParams($id, $value, array $params)
      {
          // Make the id default
          if (!$value) {
              $value = $id;
              $id = 'id';
          }
  
          return array_merge(array($id => $value), $params);
      }
code_tokens: protected function getLookupParams ( $ id , $ value , array $ params ) { // Make the id default if ( ! $ value ) { $ value = $ id ; $ id = 'id' ; } return array_merge ( array ( $ id => $ value ) , $ params ) ; }
docstring: Get the query params for a lookup request.
  
  @param string $id
  @param string $value
  @param array  $params
  
  @return array
docstring_tokens: Get the query params for a lookup request .