Skip to content

Commit 246f335

Browse files
committed
refactor: add @var
To explicitly indicate dependency
1 parent d472ec1 commit 246f335

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

system/Security/Security.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
use CodeIgniter\Cookie\Cookie;
1515
use CodeIgniter\HTTP\RequestInterface;
16+
use CodeIgniter\HTTP\Response;
1617
use CodeIgniter\Security\Exceptions\SecurityException;
1718
use CodeIgniter\Session\Session;
1819
use Config\App;
@@ -529,6 +530,7 @@ private function saveHashInCookie(): void
529530
]
530531
);
531532

533+
/** @var Response $response */
532534
$response = Services::response();
533535
$cookieStore = $response->getCookieStore();
534536
$cookieStore = $cookieStore->put($this->cookie);

0 commit comments

Comments
 (0)