Skip to content

Commit 503ab4f

Browse files
committed
docs: fix class-string class
SessionHandlerInterface does not have setLogger().
1 parent 30f5a50 commit 503ab4f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/Config/Session.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
namespace Config;
44

55
use CodeIgniter\Config\BaseConfig;
6+
use CodeIgniter\Session\Handlers\BaseHandler;
67
use CodeIgniter\Session\Handlers\FileHandler;
7-
use SessionHandlerInterface;
88

99
class Session extends BaseConfig
1010
{
@@ -19,7 +19,7 @@ class Session extends BaseConfig
1919
* - `CodeIgniter\Session\Handlers\MemcachedHandler`
2020
* - `CodeIgniter\Session\Handlers\RedisHandler`
2121
*
22-
* @phpstan-var class-string<SessionHandlerInterface>
22+
* @phpstan-var class-string<BaseHandler>
2323
*/
2424
public string $driver = FileHandler::class;
2525

0 commit comments

Comments
 (0)