Skip to content

Commit 1f62c1c

Browse files
committed
refactor: change $baseURL to private and add @internal
1 parent aaadc40 commit 1f62c1c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

system/HTTP/URI.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class URI
3939
/**
4040
* The Current baseURL.
4141
*/
42-
protected ?string $baseURL = null;
42+
private ?string $baseURL = null;
4343

4444
/**
4545
* List of URI segments.
@@ -761,6 +761,8 @@ public function setPath(string $path)
761761

762762
/**
763763
* Sets the current baseURL.
764+
*
765+
* @interal
764766
*/
765767
public function setBaseURL(string $baseURL): void
766768
{
@@ -769,6 +771,8 @@ public function setBaseURL(string $baseURL): void
769771

770772
/**
771773
* Returns the current baseURL.
774+
*
775+
* @interal
772776
*/
773777
public function getBaseURL(): string
774778
{

0 commit comments

Comments
 (0)