Skip to content

Commit ac753fc

Browse files
authored
Merge pull request #6648 from kenjis/fix-phpdoc-CLIRequest-return
docs: fix `@return` types in CLIRequest
2 parents 3daf93b + fdbaa07 commit ac753fc

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

system/HTTP/CLIRequest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ public function isCLI(): bool
223223
* @param int|null $filter A filter name to apply.
224224
* @param mixed|null $flags
225225
*
226-
* @return null
226+
* @return array|null
227227
*/
228228
public function getGet($index = null, $filter = null, $flags = null)
229229
{
@@ -237,7 +237,7 @@ public function getGet($index = null, $filter = null, $flags = null)
237237
* @param int|null $filter A filter name to apply
238238
* @param mixed $flags
239239
*
240-
* @return null
240+
* @return array|null
241241
*/
242242
public function getPost($index = null, $filter = null, $flags = null)
243243
{
@@ -251,7 +251,7 @@ public function getPost($index = null, $filter = null, $flags = null)
251251
* @param int|null $filter A filter name to apply
252252
* @param mixed $flags
253253
*
254-
* @return null
254+
* @return array|null
255255
*/
256256
public function getPostGet($index = null, $filter = null, $flags = null)
257257
{
@@ -265,7 +265,7 @@ public function getPostGet($index = null, $filter = null, $flags = null)
265265
* @param int|null $filter A filter name to apply
266266
* @param mixed $flags
267267
*
268-
* @return null
268+
* @return array|null
269269
*/
270270
public function getGetPost($index = null, $filter = null, $flags = null)
271271
{

0 commit comments

Comments
 (0)