Skip to content

Commit

Permalink
docs: fix class-string class
Browse files Browse the repository at this point in the history
SessionHandlerInterface does not have setLogger().
  • Loading branch information
kenjis committed Dec 21, 2022
1 parent af5d5e7 commit c437cf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/Config/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
namespace Config;

use CodeIgniter\Config\BaseConfig;
use CodeIgniter\Session\Handlers\BaseHandler;
use CodeIgniter\Session\Handlers\FileHandler;
use SessionHandlerInterface;

class Session extends BaseConfig
{
Expand All @@ -19,7 +19,7 @@ class Session extends BaseConfig
* - `CodeIgniter\Session\Handlers\MemcachedHandler`
* - `CodeIgniter\Session\Handlers\RedisHandler`
*
* @phpstan-var class-string<SessionHandlerInterface>
* @phpstan-var class-string<BaseHandler>
*/
public string $driver = FileHandler::class;

Expand Down

0 comments on commit c437cf4

Please sign in to comment.