Skip to content

Commit e5d8549

Browse files
committed
refactor: remove unneeded argument
1 parent 1cac8ab commit e5d8549

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/Helpers/url_helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ function current_url(bool $returnObject = false, ?IncomingRequest $request = nul
169169
$relativePath .= '#' . $fragment;
170170
}
171171

172-
$uri = _get_uri($relativePath, null);
172+
$uri = _get_uri($relativePath);
173173

174174
return $returnObject ? $uri : URI::createURIString($uri->getScheme(), $uri->getAuthority(), $uri->getPath());
175175
}

0 commit comments

Comments
 (0)