Skip to content

Commit a6df5fa

Browse files
committed
Fix @param null on RequestTrait
1 parent 455b716 commit a6df5fa

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

system/HTTP/RequestTrait.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@ private function getClientIP(string $header): ?string
191191
* Fetch an item from the $_SERVER array.
192192
*
193193
* @param array|string|null $index Index for item to be fetched from $_SERVER
194-
* @param int|null $filter A filter name to be applied
195-
* @param null $flags
194+
* @param int|string|null $filter A filter name to be applied
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 string|null $index Index for item to be fetched from $_ENV
208+
* @param int|string|null $filter A filter name to be applied
209+
* @param array|int|null $flags
210210
*
211211
* @return mixed
212212
*/

0 commit comments

Comments
 (0)