original_string: protected static function getDoctrineColumnChangeOptions(Fluent $fluent)
      {
          $options = ['type' => static::getDoctrineColumnType($fluent['type'])];
  
          if (in_array($fluent['type'], ['text', 'mediumText', 'longText'])) {
              $options['length'] = static::calculateDoctrineTextLength($fluent['type']);
          }
  
          if ($fluent['type'] === 'json') {
              $options['customSchemaOptions'] = [
                  'collation' => '',
              ];
          }
  
          return $options;
      }
code: protected static function getDoctrineColumnChangeOptions(Fluent $fluent)
      {
          $options = ['type' => static::getDoctrineColumnType($fluent['type'])];
  
          if (in_array($fluent['type'], ['text', 'mediumText', 'longText'])) {
              $options['length'] = static::calculateDoctrineTextLength($fluent['type']);
          }
  
          if ($fluent['type'] === 'json') {
              $options['customSchemaOptions'] = [
                  'collation' => '',
              ];
          }
  
          return $options;
      }
code_tokens: protected static function getDoctrineColumnChangeOptions ( Fluent $ fluent ) { $ options = [ 'type' => static :: getDoctrineColumnType ( $ fluent [ 'type' ] ) ] ; if ( in_array ( $ fluent [ 'type' ] , [ 'text' , 'mediumText' , 'longText' ] ) ) { $ options [ 'length' ] = static :: calculateDoctrineTextLength ( $ fluent [ 'type' ] ) ; } if ( $ fluent [ 'type' ] === 'json' ) { $ options [ 'customSchemaOptions' ] = [ 'collation' => '' , ] ; } return $ options ; }
docstring: Get the Doctrine column change options.
  
  @param  \Illuminate\Support\Fluent  $fluent
  @return array
docstring_tokens: Get the Doctrine column change options .