original_string: protected function _lastAction($url)
      {
          $action = Router::url($url, true);
          $query = parse_url($action, PHP_URL_QUERY);
          $query = $query ? '?' . $query : '';
          $this->_lastAction = parse_url($action, PHP_URL_PATH) . $query;
      }
code: protected function _lastAction($url)
      {
          $action = Router::url($url, true);
          $query = parse_url($action, PHP_URL_QUERY);
          $query = $query ? '?' . $query : '';
          $this->_lastAction = parse_url($action, PHP_URL_PATH) . $query;
      }
code_tokens: protected function _lastAction ( $ url ) { $ action = Router :: url ( $ url , true ) ; $ query = parse_url ( $ action , PHP_URL_QUERY ) ; $ query = $ query ? '?' . $ query : '' ; $ this -> _lastAction = parse_url ( $ action , PHP_URL_PATH ) . $ query ; }
docstring: Correctly store the last created form action URL.
  
  @param string|array $url The URL of the last form.
  @return void
docstring_tokens: Correctly store the last created form action URL .