File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -447,9 +447,10 @@ public function getRelativeUrl($includeParams = true): string
447
447
/**
448
448
* Returns the absolute url
449
449
*
450
+ * @param bool $includeParams
450
451
* @return string
451
452
*/
452
- public function getAbsoluteUrl (): string
453
+ public function getAbsoluteUrl ($ includeParams = true ): string
453
454
{
454
455
$ scheme = $ this ->scheme !== null ? $ this ->scheme . ':// ' : '' ;
455
456
$ host = $ this ->host ?? '' ;
@@ -458,7 +459,7 @@ public function getAbsoluteUrl(): string
458
459
$ pass = $ this ->password !== null ? ': ' . $ this ->password : '' ;
459
460
$ pass = ($ user || $ pass ) ? $ pass . '@ ' : '' ;
460
461
461
- return $ scheme . $ user . $ pass . $ host . $ port . $ this ->getRelativeUrl ();
462
+ return $ scheme . $ user . $ pass . $ host . $ port . $ this ->getRelativeUrl ($ includeParams );
462
463
}
463
464
464
465
/**
You can’t perform that action at this time.
0 commit comments