The Gitlab instance will be restarted on Monday April 28th at 2AM. There will be a short interruption of service.

Skip to content
Snippets Groups Projects
Commit dd9d6551 authored by Demian Katz's avatar Demian Katz
Browse files

Code simplification.

parent 729c4f9d
No related merge requests found
......@@ -183,8 +183,7 @@ class UrlQueryHelper
{
$newResults = clone($this->results);
$newResults->getParams()->replaceSearchTerm($from, $to);
$myClass = get_class($this);
$helper = new $myClass($newResults);
$helper = new static($newResults);
return $helper->getParams();
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment