Code Duplication    Length = 10-10 lines in 2 locations

src/voku/cache/Cache.php 2 locations

@@ 528-537 (lines=10) @@
525
   *
526
   * @return bool
527
   */
528
  public function removeItem($key)
529
  {
530
    if ($this->adapter instanceof iAdapter) {
531
      $storeKey = $this->calculateStoreKey($key);
532
533
      return $this->adapter->remove($storeKey);
534
    } else {
535
      return false;
536
    }
537
  }
538
539
  /**
540
   * remove cache
@@ 560-569 (lines=10) @@
557
   *
558
   * @return boolean
559
   */
560
  public function existsItem($key)
561
  {
562
    if ($this->adapter instanceof iAdapter) {
563
      $storeKey = $this->calculateStoreKey($key);
564
565
      return $this->adapter->exists($storeKey);
566
    } else {
567
      return false;
568
    }
569
  }
570
571
}
572