Code Duplication    Length = 6-6 lines in 3 locations

src/ApcCache.php 1 location

@@ 243-248 (lines=6) @@
240
     */
241
    public function status() {
242
243
        if ( !$this->isEnabled() ) return array(
244
            "provider"  => "apc",
245
            "enabled"   => false,
246
            "objects"   => null,
247
            "options"   => array()
248
        );
249
250
        $stats = apc_cache_info("user", true);
251

src/MemcachedCache.php 1 location

@@ 310-315 (lines=6) @@
307
     */
308
    public function status() {
309
310
        if ( !$this->isEnabled() ) return array(
311
            "provider"  => "memcached",
312
            "enabled"   => false,
313
            "objects"   => null,
314
            "options"   => array()
315
        );
316
317
        $stats = $this->instance->getStats();
318

src/PhpRedisCache.php 1 location

@@ 344-349 (lines=6) @@
341
342
        $enabled = $this->isEnabled();
343
344
        if ( !$enabled ) return array(
345
            "provider"  => "phpredis",
346
            "enabled"   => $enabled,
347
            "objects"   => null,
348
            "options"   => array()
349
        );
350
351
        $objects = 0;
352