original_string: protected function whereInMethod(Model $model, $key)
      {
          return $model->getKeyName() === last(explode('.', $key))
                      && $model->getIncrementing()
                      && in_array($model->getKeyType(), ['int', 'integer'])
                          ? 'whereIntegerInRaw'
                          : 'whereIn';
      }
code: protected function whereInMethod(Model $model, $key)
      {
          return $model->getKeyName() === last(explode('.', $key))
                      && $model->getIncrementing()
                      && in_array($model->getKeyType(), ['int', 'integer'])
                          ? 'whereIntegerInRaw'
                          : 'whereIn';
      }
code_tokens: protected function whereInMethod ( Model $ model , $ key ) { return $ model -> getKeyName ( ) === last ( explode ( '.' , $ key ) ) && $ model -> getIncrementing ( ) && in_array ( $ model -> getKeyType ( ) , [ 'int' , 'integer' ] ) ? 'whereIntegerInRaw' : 'whereIn' ; }
docstring: Get the name of the "where in" method for eager loading.
  
  @param  \Illuminate\Database\Eloquent\Model  $model
  @param  string  $key
  @return string
docstring_tokens: Get the name of the where in method for eager loading .