Skip to content

Commit 9f40d99

Browse files
authored
Merge pull request #7322 from samsonasik/fix-param-null-request-interface
Fix @param null on RequestInterface::getServer() $filter argument
2 parents 2e17613 + 4b48e4e commit 9f40d99

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 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)