original_string: public static function edit(Route $route)
      {
          $routeWithoutSlash = $route;
          $routeWithSlash = $route->getWithSlash();
  
          self::$register[$routeWithoutSlash->getName()] = $routeWithoutSlash;
          self::$register[$routeWithSlash->getName()] = $routeWithSlash;
      }
code: public static function edit(Route $route)
      {
          $routeWithoutSlash = $route;
          $routeWithSlash = $route->getWithSlash();
  
          self::$register[$routeWithoutSlash->getName()] = $routeWithoutSlash;
          self::$register[$routeWithSlash->getName()] = $routeWithSlash;
      }
code_tokens: public static function edit ( Route $ route ) { $ routeWithoutSlash = $ route ; $ routeWithSlash = $ route -> getWithSlash ( ) ; self :: $ register [ $ routeWithoutSlash -> getName ( ) ] = $ routeWithoutSlash ; self :: $ register [ $ routeWithSlash -> getName ( ) ] = $ routeWithSlash ; }
docstring: Update an existant route in register.
  
  @param Route $route
  
  @return null
docstring_tokens: Update an existant route in register .