Skip to content

Commit 19db8f7

Browse files
authored
Merge pull request #7683 from paulbalandan/redis-cache
refactor: [Redis Cache] fix phpstan baseline error
2 parents 0b2674f + bc2c953 commit 19db8f7

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

phpstan-baseline.neon.dist

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,6 @@ parameters:
1010
count: 1
1111
path: system/Autoloader/Autoloader.php
1212

13-
-
14-
message: "#^Property CodeIgniter\\\\Cache\\\\Handlers\\\\RedisHandler\\:\\:\\$redis \\(Redis\\) in isset\\(\\) is not nullable\\.$#"
15-
count: 1
16-
path: system/Cache/Handlers/RedisHandler.php
17-
1813
-
1914
message: "#^Call to an undefined method CodeIgniter\\\\HTTP\\\\Request\\:\\:getPost\\(\\)\\.$#"
2015
count: 1

system/Cache/Handlers/RedisHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class RedisHandler extends BaseHandler
3838
/**
3939
* Redis connection
4040
*
41-
* @var Redis
41+
* @var Redis|null
4242
*/
4343
protected $redis;
4444

0 commit comments

Comments
 (0)