Skip to content

Commit 035b84a

Browse files
committed
Fixed quality & updated composer metadata
1 parent 4493cdf commit 035b84a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "phpfastcache/phpfastcache",
33
"type" : "library",
4-
"description": "PHP Abstract Cache Class - Reduce your database call using cache system. Phpfastcache handles a lot of drivers such as Apc(u), Cassandra, CouchBase, Couchdb, Mongodb, Files, (P)redis, Leveldb, Memcache(d), Ssdb, Sqlite, Wincache, Xcache, Zend Data Cache.",
5-
"keywords": ["abstract", "cache","caching","php cache","mysql cache","apc","apcu","arangodb","dynamodb","memcache","memcached","wincache","files cache","pdo cache","cache class","redis","predis","cookie", "mongodb", "cassandra", "couchdb", "couchbase", "LevelDb", "Solr", "Ssdb", "Wincache", "xcache","zend","zend disk cache","zend memory cache","zend data cache","zend server"],
4+
"description": "PHP Abstract Cache Class - Reduce your database call using cache system. Phpfastcache handles a lot of drivers such as Apc(u), Cassandra, CouchBase, Couchdb, Dynamodb, Firestore, Mongodb, Files, (P)redis, Leveldb, Memcache(d), Ssdb, Sqlite, Wincache, Xcache, Zend Data Cache.",
5+
"keywords": ["abstract", "cache","caching","php cache","mysql cache","apc","apcu","arangodb","dynamodb","firestore","memcache","memcached","wincache","files cache","pdo cache","cache class","redis","redis cluster","predis","cookie", "mongodb", "cassandra", "couchdb", "couchbase", "LevelDb", "Solr", "Ssdb", "Wincache", "xcache","zend","zend disk cache","zend memory cache","zend data cache","zend server"],
66
"homepage": "https://www.phpfastcache.com",
77
"license": "MIT",
88
"minimum-stability": "stable",

lib/Phpfastcache/Drivers/Couchbasev3/Driver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,11 @@ protected function driverRead(ExtendedCacheItemInterface $item): ?array
110110

111111
/**
112112
* @param ExtendedCacheItemInterface $item
113-
* @return ?array<string, mixed>
113+
* @return array<array<string, mixed>>
114114
*/
115115
protected function driverReadMultiple(ExtendedCacheItemInterface ...$items): array
116116
{
117117
try {
118-
$keys = $this->getKeys($items, true);
119118
$results = [];
120119
/**
121120
* CouchbaseBucket::get() returns a GetResult interface
@@ -197,6 +196,7 @@ protected function driverClear(): bool
197196
{
198197
if (!$this->instance->buckets()->getBucket($this->getConfig()->getBucketName())->flushEnabled()) {
199198
$this->instance->buckets()->getBucket($this->getConfig()->getBucketName())->enableFlush(true);
199+
/** @phpstan-ignore-next-line */
200200
if (!$this->instance->buckets()->getBucket($this->getConfig()->getBucketName())->flushEnabled()) {
201201
throw new PhpfastcacheUnsupportedMethodException(
202202
'Flushing operation is not enabled on your Bucket. See https://docs.couchbase.com/server/current/manage/manage-buckets/flush-bucket.html'

0 commit comments

Comments
 (0)