original_string: public function prepareSentryPermissionInput(array &$input, $operation, $field_name = "permissions") {
      $input[$field_name] = isset($input[$field_name]) ? [$input[$field_name] => $operation] : '';
    }
code: public function prepareSentryPermissionInput(array &$input, $operation, $field_name = "permissions") {
      $input[$field_name] = isset($input[$field_name]) ? [$input[$field_name] => $operation] : '';
    }
code_tokens: public function prepareSentryPermissionInput ( array & $ input , $ operation , $ field_name = "permissions" ) { $ input [ $ field_name ] = isset ( $ input [ $ field_name ] ) ? [ $ input [ $ field_name ] => $ operation ] : '' ; }
docstring: Prepares permission for sentry given the input
  
  @param array $input
  @param       $operation
  @param       $field_name
  @return void
docstring_tokens: Prepares permission for sentry given the input