diff --git a/Infrastructure/Persistence/Redis/FakeRedisMasterFactory.php b/Infrastructure/Persistence/Redis/FakeRedisMasterFactory.php index 7e65329..71f5df9 100644 --- a/Infrastructure/Persistence/Redis/FakeRedisMasterFactory.php +++ b/Infrastructure/Persistence/Redis/FakeRedisMasterFactory.php @@ -13,7 +13,8 @@ public function connect( $timeout = 0.0, $reserved = null, $retryInterval = 0, - $readTimeout = 0.0 + $readTimeout = 0.0, + $context = null ) { return false; } diff --git a/phpstan.neon b/phpstan.neon index e27b72d..18b6d86 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -5,4 +5,3 @@ parameters: ignoreErrors: - '#Unsafe usage of new static\(\)#' - '#.*has invalid type Doctrine\\DBAL\\Driver\\ResultStatement#' - - '#Conditional return type uses subject type T which is not part of PHPDoc @template tags#'