Skip to content

Commit e1c13f6

Browse files
authored
Merge pull request #7323 from samsonasik/fix-param-null-on-request-trait
Fix @param null on RequestTrait
2 parents 9f40d99 + 0ead60b commit e1c13f6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

system/HTTP/RequestTrait.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ private function getClientIP(string $header): ?string
192192
*
193193
* @param array|string|null $index Index for item to be fetched from $_SERVER
194194
* @param int|null $filter A filter name to be applied
195-
* @param null $flags
195+
* @param array|int|null $flags
196196
*
197197
* @return mixed
198198
*/
@@ -204,9 +204,9 @@ public function getServer($index = null, $filter = null, $flags = null)
204204
/**
205205
* Fetch an item from the $_ENV array.
206206
*
207-
* @param null $index Index for item to be fetched from $_ENV
208-
* @param null $filter A filter name to be applied
209-
* @param null $flags
207+
* @param array|string|null $index Index for item to be fetched from $_ENV
208+
* @param int|null $filter A filter name to be applied
209+
* @param array|int|null $flags
210210
*
211211
* @return mixed
212212
*/

0 commit comments

Comments
 (0)