diff --git a/src/Storage/Adapter/Filesystem.php b/src/Storage/Adapter/Filesystem.php index 2bf27bab5..fc59f5126 100644 --- a/src/Storage/Adapter/Filesystem.php +++ b/src/Storage/Adapter/Filesystem.php @@ -460,9 +460,9 @@ public function getItem($key, & $success = null, & $casToken = null) return parent::getItem($key, $success, $casToken); } elseif ($argn > 1) { return parent::getItem($key, $success); - } else { - return parent::getItem($key); } + + return parent::getItem($key); } /** diff --git a/src/Storage/Adapter/WinCache.php b/src/Storage/Adapter/WinCache.php index c81177d20..90840e91c 100644 --- a/src/Storage/Adapter/WinCache.php +++ b/src/Storage/Adapter/WinCache.php @@ -210,9 +210,9 @@ protected function internalGetMetadata(& $normalizedKey) $metadata = $info['ucache_entries'][1]; $this->normalizeMetadata($metadata); return $metadata; - } else { - return false; } + + return false; } /* writing */