original_string: private function getUpdateChangeSetHandler()
      {
          return function ($key, $value, $obj) {
              $op = '$set';
              if (null === $value) {
                  $op = '$unset';
                  $value = 1;
              }
              $obj[$op][$key] = $value;
              return $obj;
          };
      }
code: private function getUpdateChangeSetHandler()
      {
          return function ($key, $value, $obj) {
              $op = '$set';
              if (null === $value) {
                  $op = '$unset';
                  $value = 1;
              }
              $obj[$op][$key] = $value;
              return $obj;
          };
      }
code_tokens: private function getUpdateChangeSetHandler ( ) { return function ( $ key , $ value , $ obj ) { $ op = '$set' ; if ( null === $ value ) { $ op = '$unset' ; $ value = 1 ; } $ obj [ $ op ] [ $ key ] = $ value ; return $ obj ; } ; }
docstring: Gets the change set handler Closure for update.
  
  @return  Closure
docstring_tokens: Gets the change set handler Closure for update .