Skip to content

Commit 34d4dfe

Browse files
committed
refactor: fix errors
1 parent ee0580f commit 34d4dfe

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

system/HTTP/RedirectResponse.php

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -92,15 +92,9 @@ public function back(?int $code = null, string $method = 'auto')
9292
public function withInput()
9393
{
9494
$session = service('session');
95-
96-
// @phpstan-ignore-next-line
97-
$get = $_GET ?? [];
98-
// @phpstan-ignore-next-line
99-
$post = $_POST ?? [];
100-
10195
$session->setFlashdata('_ci_old_input', [
102-
'get' => $get,
103-
'post' => $post,
96+
'get' => $_GET ?? [], // @phpstan-ignore-next-line
97+
'post' => $_POST ?? [], // @phpstan-ignore-next-line
10498
]);
10599

106100
$this->withErrors();

utils/phpstan-baseline/loader.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# total 3541 errors
1+
# total 3539 errors
22
includes:
33
- argument.type.neon
44
- assign.propertyType.neon

0 commit comments

Comments
 (0)