Skip to content

Commit 15b3540

Browse files
committed
chore: suppress PHPStan warning for and
1 parent 92ab64d commit 15b3540

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

system/HTTP/RedirectResponse.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,13 @@ public function withInput()
9494
$session = service('session');
9595

9696
// @phpstan-ignore-next-line
97+
$get = $_GET ?? [];
98+
// @phpstan-ignore-next-line
99+
$post = $_POST ?? [];
100+
97101
$session->setFlashdata('_ci_old_input', [
98-
'get' => $_GET ?? [],
99-
'post' => $_POST ?? [],
102+
'get' => $get,
103+
'post' => $post,
100104
]);
101105

102106
$this->withErrors();

0 commit comments

Comments
 (0)