@@ -135,10 +135,10 @@ |
||
| 135 | 135 | public function getPublicDesc(): array |
| 136 | 136 | { |
| 137 | 137 | return [ |
| 138 | - 'Info' => 'Cache Information', |
|
| 139 | - 'Size' => 'Cache Size', |
|
| 140 | - 'Data' => 'Cache items keys', |
|
| 141 | - 'RawData' => 'Cache raw data', |
|
| 138 | + 'Info' => 'Cache Information', |
|
| 139 | + 'Size' => 'Cache Size', |
|
| 140 | + 'Data' => 'Cache items keys', |
|
| 141 | + 'RawData' => 'Cache raw data', |
|
| 142 | 142 | ]; |
| 143 | 143 | } |
| 144 | 144 | } |
| 145 | 145 | \ No newline at end of file |
@@ -16,12 +16,12 @@ |
||
| 16 | 16 | * @var array |
| 17 | 17 | */ |
| 18 | 18 | protected $servers = [ |
| 19 | - [ |
|
| 19 | + [ |
|
| 20 | 20 | 'host' => '127.0.0.1', |
| 21 | 21 | 'port' => 11211, |
| 22 | 22 | 'saslUser' => false, |
| 23 | 23 | 'saslPassword' => false, |
| 24 | - ], |
|
| 24 | + ], |
|
| 25 | 25 | ]; |
| 26 | 26 | |
| 27 | 27 | /** |
@@ -110,10 +110,10 @@ |
||
| 110 | 110 | public function getPredisConfigArray(): array |
| 111 | 111 | { |
| 112 | 112 | return [ |
| 113 | - 'host' => $this->getHost(), |
|
| 114 | - 'port' => $this->getPort(), |
|
| 115 | - 'password' => $this->getPassword() ?: null, |
|
| 116 | - 'database' => $this->getDatabase(), |
|
| 113 | + 'host' => $this->getHost(), |
|
| 114 | + 'port' => $this->getPort(), |
|
| 115 | + 'password' => $this->getPassword() ?: null, |
|
| 116 | + 'database' => $this->getDatabase(), |
|
| 117 | 117 | ]; |
| 118 | 118 | } |
| 119 | 119 | } |
| 120 | 120 | \ No newline at end of file |
@@ -32,10 +32,10 @@ |
||
| 32 | 32 | * @var array |
| 33 | 33 | */ |
| 34 | 34 | protected $buckets = [ |
| 35 | - [ |
|
| 35 | + [ |
|
| 36 | 36 | 'bucket' => 'default', |
| 37 | 37 | 'password' => '', |
| 38 | - ], |
|
| 38 | + ], |
|
| 39 | 39 | ]; |
| 40 | 40 | |
| 41 | 41 | /** |
@@ -83,8 +83,8 @@ |
||
| 83 | 83 | |
| 84 | 84 | $files = new RecursiveIteratorIterator |
| 85 | 85 | ( |
| 86 | - new RecursiveDirectoryIterator($source, RecursiveDirectoryIterator::SKIP_DOTS), |
|
| 87 | - RecursiveIteratorIterator::CHILD_FIRST |
|
| 86 | + new RecursiveDirectoryIterator($source, RecursiveDirectoryIterator::SKIP_DOTS), |
|
| 87 | + RecursiveIteratorIterator::CHILD_FIRST |
|
| 88 | 88 | ); |
| 89 | 89 | |
| 90 | 90 | foreach ($files as $fileinfo) { |
@@ -16,12 +16,12 @@ |
||
| 16 | 16 | * @var array |
| 17 | 17 | */ |
| 18 | 18 | protected $servers = [ |
| 19 | - [ |
|
| 19 | + [ |
|
| 20 | 20 | 'host' => '127.0.0.1', |
| 21 | 21 | 'port' => 11211, |
| 22 | 22 | 'saslUser' => false, |
| 23 | 23 | 'saslPassword' => false, |
| 24 | - ], |
|
| 24 | + ], |
|
| 25 | 25 | ]; |
| 26 | 26 | |
| 27 | 27 | /** |
@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | use Phpfastcache\Core\Item\ExtendedCacheItemInterface; |
| 20 | 20 | use Phpfastcache\Core\Pool\ExtendedCacheItemPoolInterface; |
| 21 | 21 | use Phpfastcache\Exceptions\{ |
| 22 | - PhpfastcacheDriverCheckException, PhpfastcacheInvalidArgumentException, PhpfastcacheRootException, PhpfastcacheSimpleCacheException |
|
| 22 | + PhpfastcacheDriverCheckException, PhpfastcacheInvalidArgumentException, PhpfastcacheRootException, PhpfastcacheSimpleCacheException |
|
| 23 | 23 | }; |
| 24 | 24 | use Psr\SimpleCache\CacheInterface; |
| 25 | 25 | |
@@ -76,8 +76,8 @@ discard block |
||
| 76 | 76 | { |
| 77 | 77 | try { |
| 78 | 78 | $cacheItem = $this->internalCacheInstance |
| 79 | - ->getItem($key) |
|
| 80 | - ->set($value); |
|
| 79 | + ->getItem($key) |
|
| 80 | + ->set($value); |
|
| 81 | 81 | if (\is_int($ttl) && $ttl <= 0) { |
| 82 | 82 | $cacheItem->expiresAt((new \DateTime('@0'))); |
| 83 | 83 | } elseif (\is_int($ttl) || $ttl instanceof \DateInterval) { |
@@ -18,7 +18,7 @@ discard block |
||
| 18 | 18 | use Phpfastcache\Core\Pool\{DriverBaseTrait, ExtendedCacheItemPoolInterface}; |
| 19 | 19 | use Phpfastcache\Entities\DriverStatistic; |
| 20 | 20 | use Phpfastcache\Exceptions\{ |
| 21 | - PhpfastcacheInvalidArgumentException, PhpfastcacheDriverCheckException, PhpfastcacheDriverException |
|
| 21 | + PhpfastcacheInvalidArgumentException, PhpfastcacheDriverCheckException, PhpfastcacheDriverException |
|
| 22 | 22 | }; |
| 23 | 23 | use Phpfastcache\Util\ArrayObject; |
| 24 | 24 | use phpssdb\Core\{SimpleSSDB, SSDBException}; |
@@ -147,9 +147,9 @@ discard block |
||
| 147 | 147 | * using hardcoded offset of pair key-value :-( |
| 148 | 148 | */ |
| 149 | 149 | $stat->setInfo(\sprintf("Ssdb-server v%s with a total of %s call(s).\n For more information see RawData.", $info[ 2 ], $info[ 6 ])) |
| 150 | - ->setRawData($info) |
|
| 151 | - ->setData(\implode(', ', \array_keys($this->itemInstances))) |
|
| 152 | - ->setSize($this->instance->dbsize()); |
|
| 150 | + ->setRawData($info) |
|
| 151 | + ->setData(\implode(', ', \array_keys($this->itemInstances))) |
|
| 152 | + ->setSize($this->instance->dbsize()); |
|
| 153 | 153 | |
| 154 | 154 | return $stat; |
| 155 | 155 | } |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | use Phpfastcache\Core\Pool\ExtendedCacheItemPoolInterface; |
| 20 | 20 | use Phpfastcache\Drivers\Ssdb\Driver as SsdbDriver; |
| 21 | 21 | use Phpfastcache\Exceptions\{ |
| 22 | - PhpfastcacheInvalidArgumentException, PhpfastcacheInvalidArgumentTypeException |
|
| 22 | + PhpfastcacheInvalidArgumentException, PhpfastcacheInvalidArgumentTypeException |
|
| 23 | 23 | }; |
| 24 | 24 | |
| 25 | 25 | /** |