original_string: public function updateUserRecordWithTwoFactorAuthCode($codeToInput, $userId) {
  
          $now = Carbon::now();
  
          DB::table('users')
              ->where('id', $userId)
              ->update(['sms_token' => $codeToInput, 'sms_token_created_at' => $now] )
          ;
      }
code: public function updateUserRecordWithTwoFactorAuthCode($codeToInput, $userId) {
  
          $now = Carbon::now();
  
          DB::table('users')
              ->where('id', $userId)
              ->update(['sms_token' => $codeToInput, 'sms_token_created_at' => $now] )
          ;
      }
code_tokens: public function updateUserRecordWithTwoFactorAuthCode ( $ codeToInput , $ userId ) { $ now = Carbon :: now ( ) ; DB :: table ( 'users' ) -> where ( 'id' , $ userId ) -> update ( [ 'sms_token' => $ codeToInput , 'sms_token_created_at' => $ now ] ) ; }
docstring: UPDATE the user record for fields "sms_token" and "sms_token_created_at"
  
  @param  text   $codeToInput     The code sent to the user via sms that has to be entered into a form to allow login
  @param  int    $userId          User ID
  @return void
docstring_tokens: UPDATE the user record for fields sms_token and sms_token_created_at