Skip to content

Commit 960cb91

Browse files
committed
docs: fix @param in URI
1 parent 97dfb4a commit 960cb91

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

system/HTTP/URI.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ public function getSegment(int $number, string $default = ''): string
557557
* Set the value of a specific segment of the URI path.
558558
* Allows to set only existing segments or add new one.
559559
*
560-
* @param mixed $value (string or int)
560+
* @param int|string $value (string or int)
561561
*
562562
* @return $this
563563
*/
@@ -844,7 +844,7 @@ public function setQueryArray(array $query)
844844
/**
845845
* Adds a single new element to the query vars.
846846
*
847-
* @param mixed $value
847+
* @param int|string $value
848848
*
849849
* @return $this
850850
*/

0 commit comments

Comments
 (0)