Skip to content

Commit

Permalink
Merge pull request #7323 from samsonasik/fix-param-null-on-request-trait
Browse files Browse the repository at this point in the history
Fix @param null on RequestTrait
  • Loading branch information
samsonasik authored Mar 2, 2023
2 parents 9f40d99 + 0ead60b commit e1c13f6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions system/HTTP/RequestTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ private function getClientIP(string $header): ?string
*
* @param array|string|null $index Index for item to be fetched from $_SERVER
* @param int|null $filter A filter name to be applied
* @param null $flags
* @param array|int|null $flags
*
* @return mixed
*/
Expand All @@ -204,9 +204,9 @@ public function getServer($index = null, $filter = null, $flags = null)
/**
* Fetch an item from the $_ENV array.
*
* @param null $index Index for item to be fetched from $_ENV
* @param null $filter A filter name to be applied
* @param null $flags
* @param array|string|null $index Index for item to be fetched from $_ENV
* @param int|null $filter A filter name to be applied
* @param array|int|null $flags
*
* @return mixed
*/
Expand Down

0 comments on commit e1c13f6

Please sign in to comment.