Skip to content

Commit 4b48e4e

Browse files
committed
use array|string|null on index, and int|null for filter
1 parent a6f146c commit 4b48e4e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

system/HTTP/RequestInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ public function isValidIP(string $ip, ?string $which = null): bool;
4040
* Fetch an item from the $_SERVER array.
4141
* Supplied by RequestTrait.
4242
*
43-
* @param string $index Index for item to be fetched from $_SERVER
44-
* @param int|string|null $filter A filter name to be applied
43+
* @param array|string|null $index Index for item to be fetched from $_SERVER
44+
* @param int|null $filter A filter name to be applied
4545
*
4646
* @return mixed
4747
*/

0 commit comments

Comments
 (0)