Security update to Drupal 8.4.6
[yaffs-website] / vendor / doctrine / cache / lib / Doctrine / Common / Cache / RiakCache.php
index 0baa3f2531c5bc271f68c1a1063618b07bdf2a10..8a2e59ee1fc7e42595c2b1f9394b0dfc2d653b91 100644 (file)
@@ -20,7 +20,6 @@
 namespace Doctrine\Common\Cache;
 
 use Riak\Bucket;
-use Riak\Connection;
 use Riak\Input;
 use Riak\Exception;
 use Riak\Object;
@@ -204,7 +203,7 @@ class RiakCache extends CacheProvider
      *
      * @return bool
      */
-    private function isExpired(Object $object)
+    private function isExpired(Object $object) : bool
     {
         $metadataMap = $object->getMetadataMap();